effect-io-ai

Package: effect
Module: Fiber

Fiber.Fiber.Descriptor

A record containing information about a Fiber.

Signature

export interface Descriptor {
    /**
     * The fiber's unique identifier.
     */
    readonly id: FiberId.FiberId
    /**
     * The status of the fiber.
     */
    readonly status: FiberStatus.FiberStatus
    /**
     * The set of fibers attempting to interrupt the fiber or its ancestors.
     */
    readonly interruptors: HashSet.HashSet<FiberId.FiberId>
  }

Source

Since v2.0.0