MCPcopy Create free account
hub / github.com/OCEChain/OCEChain / Flush

Method Flush

store/queue.go:71–88  ·  view source on GitHub ↗

Flush() removes elements it processed Return true in the continuation to break The interface{} is unmarshalled before the continuation is called Starts from the top(head) of the queue CONTRACT: Pop() or Push() should not be performed while flushing

(ptr interface{}, fn func() bool)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 5

getTopMethod · 0.95
setTopMethod · 0.95
GetMethod · 0.65
DeleteMethod · 0.65
LenMethod · 0.45

Tested by

no test coverage detected