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

Function make

packages/effect/src/Deferred.ts:171–171  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

169 * @since 2.0.0
170 */
171export const make = <A, E = never>(): Effect<Deferred<A, E>> => internalEffect.sync(() => makeUnsafe())
172
173const _await = <A, E>(self: Deferred<A, E>): Effect<A, E> =>
174 internalEffect.callback<A, E>((resume) => {

Callers

nothing calls this directly

Calls 2

makeUnsafeFunction · 0.70
syncMethod · 0.45

Tested by

no test coverage detected