turbolift.effects.CoroutineEffect
See theCoroutineEffect companion object
Base trait for custom instances of Coroutine effect.
case object MyCoroutine extends CoroutineEffect[Int, String, Unit]
// optional:
type MyCoroutine = MyCoroutine.type
Type parameters
I
value passed to the coroutine when it's resumed
O
value returned by the coroutine when it suspends
R
value returned by the coroutine when it ends
Attributes
See also
Companion
object
Graph
Reset zoom Hide graph Show graph
Supertypes
class Object
trait Matchable
class Any
Show all
Self type
Members list
Attributes
Inherited from:
Effect
API for defining custom effects .
API for defining custom effects .
Attributes
Inherited from:
Effect
Attributes
Definition Classes
Attributes
Definition Classes
API for defining custom handlers .
API for defining custom handlers .
Combines with another Effect instance, for the purpose of sharing an Interpreter .
Example of application: implement RWS
-alike handler for Reader &! Writer &! State
composition of effects.
Attributes
Inherited from:
Effect
API for defining custom handlers .
API for defining custom handlers .
Helper object providing type definitions to be used for implementing Interpreters for this effect.
Attributes
Inherited from:
Effect
Attributes
Inherited from:
Effect