class ResultOfCompleteInvocation[T] extends AnyRef
Class that provides the lastly
method of the complete
-lastly
syntax.
- Source
- CompleteLastly.scala
- Alphabetic
- By Inheritance
- ResultOfCompleteInvocation
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
-
new
ResultOfCompleteInvocation(futuristicBlock: ⇒ T, futuristic: Futuristic[T])
- futuristicBlock
a by-name that produces a futuristic type
- futuristic
the futuristic typeclass instance
Value Members
-
def
lastly(lastlyBlock: ⇒ Unit): T
Registers cleanup code to be executed immediately if the future-producing code passed to
complete
throws an exception, or otherwise asynchronously, when the future returned by the code passed tocomplete
itself completes.Registers cleanup code to be executed immediately if the future-producing code passed to
complete
throws an exception, or otherwise asynchronously, when the future returned by the code passed tocomplete
itself completes.See the main documentation for trait
CompleteLastly
for more detail.- lastlyBlock
cleanup code to execute whether the code passed to
complete
throws an exception or succesfully returns a futuristic value.
-
def
toString(): String
Pretty string representation of this class.
Pretty string representation of this class.
- Definition Classes
- ResultOfCompleteInvocation → AnyRef → Any