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): void; } //# sourceMappingURL=fiberScope.d.ts.map