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

Function WithNotify

ops/sync/config.go:64–68  ·  view source on GitHub ↗

WithNotify configures a callback to be called when the session state changes. In particular, this is called when the session is closed.

(fn func(version int, pending, mergeChain []ops.Op))

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 3

StreamMethod · 0.92
NonBlockingStreamMethod · 0.92
streamFunction · 0.92

Calls

no outgoing calls

Tested by 1

streamFunction · 0.74