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

Function size

packages/effect/src/FiberSet.ts:681–682  ·  view source on GitHub ↗
(self: FiberSet<A, E>)

Source from the content-addressed store, hash-verified

679 * @since 2.0.0
680 */
681export const size = <A, E>(self: FiberSet<A, E>): Effect.Effect<number> =>
682 Effect.sync(() => self.state._tag === "Closed" ? 0 : self.state.backing.size)
683
684/**
685 * Joins all fibers in the FiberSet. If any fiber in the set terminates with a failure,

Callers

nothing calls this directly

Calls 1

syncMethod · 0.45

Tested by

no test coverage detected