MCPcopy
hub / github.com/benbjohnson/litestream / Notify

Method Notify

db.go:602–606  ·  view source on GitHub ↗

Notify returns a channel that closes when the shadow WAL changes.

()

Source from the content-addressed store, hash-verified

600
601// Notify returns a channel that closes when the shadow WAL changes.
602func (db *DB) Notify() <-chan struct{} {
603 db.mu.RLock()
604 defer db.mu.RUnlock()
605 return db.notify
606}
607
608// PageSize returns the page size of the underlying database.
609// Only valid after database exists & Init() has successfully run.

Callers 7

monitorMethod · 0.80
runFunction · 0.80
runFunction · 0.80
generateLoadMethod · 0.80
signalChanFunction · 0.80
signalChanFunction · 0.80
setupSignalHandlerFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected