UNPKG

veffect

Version:

powerful TypeScript validation library built on the robust foundation of Effect combining exceptional type safety, high performance, and developer experience. Taking inspiration from Effect's functional principles, VEffect delivers a balanced approach tha

18 lines 743 B
import * as FiberId from "../FiberId.js"; import type * as RuntimeFlags from "../RuntimeFlags.js"; import type * as FiberRuntime from "./fiberRuntime.js"; export type FiberScopeTypeId = typeof FiberScopeTypeId; /** * A `FiberScope` represents the scope of a fiber lifetime. The scope of a * fiber can be retrieved using `Effect.descriptor`, and when forking fibers, * you can specify a custom scope to fork them on by using the `forkIn`. * * @since 2.0.0 * @category models */ export interface FiberScope { readonly [FiberScopeTypeId]: FiberScopeTypeId; get fiberId(): FiberId.FiberId; add(runtimeFlags: RuntimeFlags.RuntimeFlags, child: FiberRuntime.FiberRuntime<any, any>): void; } //# sourceMappingURL=fiberScope.d.ts.map