PureFiber

final class PureFiber[E, A](val state0: MVar[Outcome[[_] =>> PureConc[E, _$80], E, A]]) extends Fiber[[_] =>> PureConc[E, _$81], E, A]
trait Fiber[[_] =>> PureConc[E, _$81], E, A]
class Object
trait Matchable
class Any

Value members

Inherited methods

def joinWith(onCancel: PureConc[E, A])(F: MonadCancel[[_] =>> PureConc[E, _$81], E]): PureConc[E, A]

Awaits the completion of the bound fiber and returns its result once it completes.

Awaits the completion of the bound fiber and returns its result once it completes.

If the fiber completes with Outcome.Succeeded, the successful value is returned. If the fiber completes with Outcome.Errored, the error is raised. If the fiber completes with Outcome.Canceled, onCancel is run.

Inherited from
Fiber
def joinWithNever(F: GenSpawn[[_] =>> PureConc[E, _$81], E]): PureConc[E, A]

Awaits the completion of the bound fiber and returns its result once it completes.

Awaits the completion of the bound fiber and returns its result once it completes.

If the fiber completes with Outcome.Succeeded, the successful value is returned. If the fiber completes with Outcome.Errored, the error is raised. If the fiber completes with Outcome.Canceled, the caller is indefinitely suspended without termination.

Inherited from
Fiber

Concrete fields

val cancel: PureConc[E, Unit]
val join: PureConc[E, Outcome[[_] =>> PureConc[E, _$90], E, A]]
val state0: MVar[Outcome[[_] =>> PureConc[E, _$80], E, A]]