MCPcopy Create free account
hub / github.com/freecodexyz/free-code / pollForWork

Function pollForWork

src/bridge/bridgeDebug.ts:114–118  ·  view source on GitHub ↗
(envId, secret, signal, reclaimMs)

Source from the content-addressed store, hash-verified

112 return {
113 ...api,
114 async pollForWork(envId, secret, signal, reclaimMs) {
115 const f = consume('pollForWork')
116 if (f) throwFault(f, 'Poll')
117 return api.pollForWork(envId, secret, signal, reclaimMs)
118 },
119 async registerBridgeEnvironment(config) {
120 const f = consume('registerBridgeEnvironment')
121 if (f) throwFault(f, 'Registration')

Callers

nothing calls this directly

Calls 2

consumeFunction · 0.85
throwFaultFunction · 0.85

Tested by

no test coverage detected