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

Function clearPending

packages/effect/src/Effect.ts:14583–14587  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

14581 const key = {}
14582 const refs = Array.from(state.journal.keys())
14583 const clearPending = () => {
14584 for (const clear of refs) {
14585 clear.pending.delete(key)
14586 }
14587 }
14588 return callback<void>((resume) => {
14589 const onCall = () => {
14590 clearPending()

Callers 1

onCallFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected