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

Method NonBlockingStream

client.go:72–93  ·  view source on GitHub ↗

NonBlockingStream returns the stream of changes for this session The returned store can be used to *close* the stream when needed Actual syncing of messages happens when Push and Pull are called on the stream. Pull() does the server-fetch asynchronously, returning immediately if there is no server

(url string, logger dotlog.Log)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 2

ClientFunction · 0.80

Calls 7

StreamFunction · 0.92
WithNotifyFunction · 0.92
WithSessionFunction · 0.92
WithLogFunction · 0.92
WithBackoffFunction · 0.92
WithAutoTransformFunction · 0.92
WithNonBlockingFunction · 0.92

Tested by 1