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

Function makeInput

packages/effect/test/Effect.test.ts:5208–5212  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

5206 })
5207 let reference: WeakRef<object> | undefined
5208 const makeInput = () => {
5209 const input = {}
5210 reference = new WeakRef(input)
5211 return input
5212 }
5213 yield* start(makeInput())
5214 yield* collectGarbage
5215 assert.isUndefined(reference!.deref())

Callers 1

Effect.test.tsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected