Loom

turbolift.io.Loom
See theLoom companion object
final class Loom[A, U <: IO]

Fiber factory. Fibers share their effects, and the loom accumulates their effectful results.

Unrelated to the "Project Loom".

Attributes

Companion
object
Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Value members

Concrete methods

def done: Computation[Unit, IO]
def fold[B](initial: B)(op: (B, A) => B): Computation[B, U]
def foldEff[B, V <: U](initial: B)(op: (B, A) => Computation[B, V]): Computation[B, V]
def foldZipper[B, V <: U](initial: B)(op: (B, Zipper[A, U]) => Computation[B, V]): Computation[B, V]
def fork(comp: Computation[A, U]): Computation[Fiber[A, U], IO]
def reduceOption[B](op: (B, A) => B): Computation[Option[B], U]
def reduceOptionEff[B, V <: U](op: (B, A) => Computation[B, V]): Computation[Option[B], V]
def reduceVoid: Computation[Unit, U]
def reduceZipperVoid[V <: U](op: (Zipper[A, U]) => Computation[Unit, V]): Computation[Unit, V]
def submit(comp: Computation[A, U]): Computation[Unit, IO]
def unsafeSubmit(comp: Computation[A, U]): Unit