Generator

turbolift.effects.Generator$package.Generator
object Generator

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Self type
Generator.type

Members list

Type members

Classlikes

enum Step[+A, -U]

Attributes

Supertypes
trait Enum
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Value members

Concrete methods

def apply[A, U](step: Computation[Step[A, U], U]): Generator[A, U]
def consumer[A, U](body: (fx: ConsumerEffect[A]) => Computation[Unit, U & fx.type]): (Generator[A, U]) => Computation[Unit, U]
def producer[A, U](body: (fx: ProducerEffect[A]) => Computation[Unit, U & fx.type]): Generator[A, U]

Extensions

Extensions

extension [A, U](thiz: Generator[A, U])
def step: Computation[Step[A, U], U]
def take(count: Long): Generator[A, U]
def toVector: Computation[Vector[A], U]