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

Function release

packages/effect/test/Scope.test.ts:33–33  ·  view source on GitHub ↗
(id: number)

Source from the content-addressed store, hash-verified

31const acquire = (id: number): Action => ({ op: OP_ACQUIRE, id })
32const use = (id: number): Action => ({ op: OP_USE, id })
33const release = (id: number): Action => ({ op: OP_RELEASE, id })
34const isAcquire = (self: Action): self is Use => self.op === OP_ACQUIRE
35const isUse = (self: Action): self is Use => self.op === OP_USE
36const isRelease = (self: Action): self is Use => self.op === OP_RELEASE

Callers 3

resourceFunction · 0.70
Scope.test.tsFile · 0.70
makeClientFunction · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…