final case class Handle(completed: Future[Unit], killSwitch: KillSwitch) extends Product with Serializable
A handle of a running program
- completed
will complete right after the program completed
- if no KillSwitch used,
- it will complete successfully as program successfully ends
- it will complete with the same failure that failed the program
- if KillSwitch aborted, this completes with the same Throwable
- if KillSwitch shut down, this completes successfully After signalling completion, the program finished it's execution and has released all resources it acquired.
- if no KillSwitch used,
- killSwitch
to signal abortion and shutdown
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- Handle
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Instance Constructors
- new Handle(completed: Future[Unit], killSwitch: KillSwitch)
- completed
will complete right after the program completed
- if no KillSwitch used,
- it will complete successfully as program successfully ends
- it will complete with the same failure that failed the program
- if KillSwitch aborted, this completes with the same Throwable
- if KillSwitch shut down, this completes successfully After signalling completion, the program finished it's execution and has released all resources it acquired.
- if no KillSwitch used,
- killSwitch
to signal abortion and shutdown
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native() @IntrinsicCandidate()
- val completed: Future[Unit]
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @IntrinsicCandidate()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- val killSwitch: KillSwitch
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])