Fiber

turbolift.io.Fiber
See theFiber companion object
sealed trait Fiber[+A, -U]

Attributes

Companion
object
Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Value members

Abstract methods

def name: String
def unsafeCancelAndForget(): Unit
def unsafePoll(): Option[Zipper[A, U]]

Concrete methods

final def await: Computation[Zipper[A, U], IO]

Awaits completion of this fiber and returns its effectful result.

Awaits completion of this fiber and returns its effectful result.

Attributes

final def awaitVoid: Computation[Unit, IO]

Awaits completion of this fiber and disards its result (including the effects).

Awaits completion of this fiber and disards its result (including the effects).

Attributes

final def cancel: Computation[Unit, IO]

Cancels this fiber and await its completion.

Cancels this fiber and await its completion.

Attributes

final def cancelAndForget: Computation[Unit, IO]

Cancels this fiber without awaiting its completion.

Cancels this fiber without awaiting its completion.

Attributes

final def cast[A2, U2]: Fiber[A2, U2]
final def getOrDie: Computation[Zipper[A, U], IO]

Get result of this fiber now, or fail it's still pending.

Get result of this fiber now, or fail it's still pending.

Attributes

final def join: Computation[A, U & IO]

Awaits completion of this fiber, returns its pure result and absorbs its effects.

Awaits completion of this fiber, returns its pure result and absorbs its effects.

Attributes

final def nowOrNever: Computation[Zipper[A, U], IO]

Get result of this fiber now, or cancel it if it's still pending.

Get result of this fiber now, or cancel it if it's still pending.

Attributes

final def poll: Computation[Option[Zipper[A, U]], IO]

Try to get result of this fiber now.

Try to get result of this fiber now.

Attributes

final def status: Computation[Status, IO]

Snapshot of this fiber's Status.

Snapshot of this fiber's Status.

Attributes

final def untyped: Untyped