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

Function cancel

packages/effect/src/ui/Query.ts:4430–4433  ·  view source on GitHub ↗
(tuple: RawTuple, pending: PendingDecode)

Source from the content-addressed store, hash-verified

4428 }
4429
4430 const cancel = (tuple: RawTuple, pending: PendingDecode): void => {
4431 memo.delete(tuple)
4432 pending.fiber.interruptUnsafe()
4433 }
4434
4435 const lookup: queryCore.ShippedContext = {
4436 peek: (def: QueryDef, argsKey: string) => {

Callers 10

makeShippedFunction · 0.70
decodeRawFunction · 0.70
cancelPendingFunction · 0.70
makeStreamPullEffectFunction · 0.50
Atom.tsFile · 0.50
handleExitFunction · 0.50
AtomRegistry.tsFile · 0.50
resultOnceFunction · 0.50
someOnceFunction · 0.50
fiberAwaitAllFunction · 0.50

Calls 2

deleteMethod · 0.65
interruptUnsafeMethod · 0.45

Tested by

no test coverage detected