object CompleteLastly extends CompleteLastly
Companion object that facilitates the importing of CompleteLastly
members as
an alternative to mixing it in.
- Source
- CompleteLastly.scala
- Alphabetic
- By Inheritance
- CompleteLastly
- CompleteLastly
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Type Members
-
class
ResultOfCompleteInvocation
[T] extends AnyRef
Class that provides the
lastly
method of thecomplete
-lastly
syntax.Class that provides the
lastly
method of thecomplete
-lastly
syntax.- Definition Classes
- CompleteLastly
Value Members
-
def
complete[T](completeBlock: ⇒ T)(implicit futuristic: Futuristic[T]): ResultOfCompleteInvocation[T]
Registers a block of code that produces any "futuristic" type (any type
F
for which an implicitFuturistic[F]
instance is implicitly available), returning an object that offers alastly
method.Registers a block of code that produces any "futuristic" type (any type
F
for which an implicitFuturistic[F]
instance is implicitly available), returning an object that offers alastly
method.See the main documentation for trait
CompleteLastly
for more detail.- completeBlock
cleanup code to execute whether the code passed to
complete
throws an exception or succesfully returns a futuristic value.
- Definition Classes
- CompleteLastly