Warp

turbolift.io.Warp
See theWarp companion object
sealed trait Warp

Collection of fibers (and/or other warps). Ensures lifetime boundary of its children.

Attributes

Companion
object
Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Value members

Abstract methods

def isRoot: Boolean
def name: String
def parent: Option[Warp | Untyped]
def unsafeCancelAndForget(): Unit
def unsafeChildren(): Iterable[Untyped | Warp]
def unsafeFibers(): Iterable[Untyped]
def unsafeSpawn(name: String): Warp
def unsafeWarps(): Iterable[Warp]

Concrete methods

final def cancel: Computation[Unit, IO]

Complete this warp, by cancelling all its children and waiting for their completion.

Complete this warp, by cancelling all its children and waiting for their completion.

Attributes

final def cancelAndForget: Computation[Unit, IO]

Like cancel, but without waiting for the completion.

Like cancel, but without waiting for the completion.

Attributes

final def children: Computation[Iterable[Untyped | Warp], IO]

Snapshot of this warp's elements.

Snapshot of this warp's elements.

Attributes

final def fibers: Computation[Iterable[Untyped], IO]

Like children, but filtered to return fibers only.

Like children, but filtered to return fibers only.

Attributes

final def fork[A, U](comp: Computation[A, U]): Computation[Fiber[A, U], IO]

Create a child Fiber.

Create a child Fiber.

Attributes

final def named(name: String): NamedSyntax

Syntax for creating new child Fiber or Warp with a name.

Syntax for creating new child Fiber or Warp with a name.

Attributes

final def shutdown: Computation[Unit, IO]

Complete this warp, by waiting until it becomes childless.

Complete this warp, by waiting until it becomes childless.

Attributes

final def shutdownAndForget: Computation[Unit, IO]

Like shutdown, but without waiting for the completion.

Like shutdown, but without waiting for the completion.

Attributes

final def spawn: Computation[Warp, IO]

Create a child Warp.

Create a child Warp.

Attributes

final def status: Computation[Status, IO]

Snapshot of this warp's Status.

Snapshot of this warp's Status.

Attributes

final def warps: Computation[Iterable[Warp], IO]

Like children, but filtered to return warps only.

Like children, but filtered to return warps only.

Attributes