MCPcopy Index your code
hub / github.com/celzero/firestack / Do

Method Do

intra/core/barrier.go:236–274  ·  view source on GitHub ↗

Do executes and returns the results of the given function, making sure that only one execution is in-flight for a given key at a time. If a duplicate comes in, the duplicate caller waits for the original to complete and receives the same results.

(k K, once Work[T])

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 15

DoItMethod · 0.95
EndMethod · 0.80
stopMethod · 0.80
CloseMethod · 0.80
DisconnectMethod · 0.80
stopMethod · 0.80
stopMethod · 0.80
completeMethod · 0.80
EmptyResponseFromMessageFunction · 0.80
IsDNSSECRequestedFunction · 0.80
CloseMethod · 0.80
queryIP2Method · 0.80

Calls 7

getLockedMethod · 0.95
addLockedMethod · 0.95
GoFunction · 0.85
DoneMethod · 0.80
AddMethod · 0.65
idMethod · 0.65
WaitMethod · 0.45

Tested by

no test coverage detected