Creates a Continuation from the raw scalaz.ContT
Creates a Continuation from the raw scalaz.ContT
Returns a Continuation of an asynchronous operation.
Returns a Continuation of an asynchronous operation.
safeAsync in case of StackOverflowError
.
Returns a Continuation of a blocking operation
Returns a Continuation of a blocking operation
Returns a Continuation whose value is always a
.
Returns a Continuation whose value is always a
.
Returns a Continuation of an asynchronous operation like async except this method is stack-safe.
Extracts the underlying scalaz.ContT of continuation
Extracts the underlying scalaz.ContT of continuation
This unapply
can be used in pattern matching expression.
import com.thoughtworks.continuation.Continuation val Continuation(contT) = Continuation.now[Unit, Int](42) contT should be(a[scalaz.ContT[scalaz.Free.Trampoline, _, _]])
The companion object for Continuation.