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

Function join

packages/effect/src/FiberMap.ts:1021–1022  ·  view source on GitHub ↗
(self: FiberMap<K, A, E>)

Source from the content-addressed store, hash-verified

1019 * @since 2.0.0
1020 */
1021export const join = <K, A, E>(self: FiberMap<K, A, E>): Effect.Effect<void, E> =>
1022 Deferred.await(self.deferred as Deferred.Deferred<void, E>)
1023
1024/**
1025 * Waits for the FiberMap to be empty.

Callers

nothing calls this directly

Calls 1

awaitMethod · 0.65

Tested by

no test coverage detected