Coroutine

turbolift.io.Coroutine
See theCoroutine companion object
trait Coroutine[-I, +O, +R, -U]

Attributes

Companion
object
Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Value members

Abstract methods

def result: Computation[Option[R], IO]
def resumeEff[U2 <: U](iEff: Computation[I, U2]): Computation[Either[R, O], U2 & IO]

Concrete methods

final def canResume: Computation[Boolean, IO]
final def resume(i: I): Computation[Either[R, O], U & IO]
final def resume(using ev: Unit <:< I): Computation[Either[R, O], U & IO]
final def tryResume(i: I): Computation[Option[O], U & IO]
final def tryResume(using ev: Unit <:< I): Computation[Option[O], U & IO]
final def tryResumeEff[U2 <: U](iEff: Computation[I, U2]): Computation[Option[O], U2 & IO]