MCPcopy Create free account
hub / github.com/dotchain/dot / Polled

Function Polled

ops/poller.go:18–20  ·  view source on GitHub ↗

Polled implements a low-latency in memory poller. Any append will effectively trigger any pending polls to return. It can be used to wrap a store that does not support long polling Note: closing the wrapped store closes the original store as well

(s Store)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 10

BoltServerFunction · 0.92
TestPolledFunction · 0.92
TestClosedPolledStoreFunction · 0.92
TestPolledErrorFunction · 0.92
TestNonblockingSyncFunction · 0.92
TestSyncFromScratchFunction · 0.92
TestSyncReconnectFunction · 0.92
TestSyncMultipleInFlightFunction · 0.92
TestServerErrorsFunction · 0.92
ExampleFunction · 0.92

Calls

no outgoing calls

Tested by 9

TestPolledFunction · 0.74
TestClosedPolledStoreFunction · 0.74
TestPolledErrorFunction · 0.74
TestNonblockingSyncFunction · 0.74
TestSyncFromScratchFunction · 0.74
TestSyncReconnectFunction · 0.74
TestSyncMultipleInFlightFunction · 0.74
TestServerErrorsFunction · 0.74
ExampleFunction · 0.74