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

Function makeUnsafe

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

Source from the content-addressed store, hash-verified

138 * @since 4.0.0
139 */
140export const makeUnsafe = <A, E = never>(): Deferred<A, E> => {
141 const self = Object.create(DeferredProto)
142 self.resumes = undefined
143 self.effect = undefined
144 return self
145}
146
147/**
148 * Creates a new `Deferred`.

Callers 1

makeFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected