MCPcopy Create free account
hub / github.com/anomalyco/opencode / next

Function next

packages/opencode/src/effect/runner.ts:54–57  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

52
53 const state = () => SynchronizedRef.getUnsafe(ref)
54 const next = () => {
55 ids += 1
56 return ids
57 }
58
59 const complete = (done: Deferred.Deferred<A, E | Cancelled>, exit: Exit.Exit<A, E>) =>
60 Exit.isFailure(exit) && Cause.hasInterruptsOnly(exit.cause)

Callers 3

startRunFunction · 0.70
ensureRunningFunction · 0.70
startShellFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected