MCPcopy Create free account
hub / github.com/Effect-TS/effect / get

Function get

packages/effect/src/FiberHandle.ts:488–490  ·  view source on GitHub ↗
(self: FiberHandle<A, E>)

Source from the content-addressed store, hash-verified

486 * @since 2.0.0
487 */
488export function get<A, E>(self: FiberHandle<A, E>): Effect.Effect<Option.Option<Fiber.Fiber<A, E>>> {
489 return Effect.suspend(() => Effect.succeed(getUnsafe(self)))
490}
491
492/**
493 * Interrupts the fiber currently stored in the `FiberHandle`, if any, and

Callers

nothing calls this directly

Calls 2

getUnsafeFunction · 0.70
succeedMethod · 0.45

Tested by

no test coverage detected