MCPcopy Create free account
hub / github.com/corestoreio/pkg / Done

Method Done

sync/suspend/state.go:177–193  ·  view source on GitHub ↗

Done releases all the waiting Goroutines caught with the function IsRunning() and sets the internal state to done. Any subsequent calls to ShouldWait() and ShouldStart() with the same key will restart the process. You must call Reset() to fully clear the internal cache once all of your operations ar

(key uint64)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 15

DoneBytesMethod · 0.95
TestHashState_ShouldWaitFunction · 0.95
TestIntegrationNewCanalFunction · 0.45
mainFunction · 0.45
runMethod · 0.45
WithVerifyConnectionFunction · 0.45
testSyncMethod · 0.45
TestMysqlBinlogCodecMethod · 0.45
mainFunction · 0.45

Calls 2

InitializedMethod · 0.95
LockMethod · 0.80

Tested by 15

TestHashState_ShouldWaitFunction · 0.76
TestIntegrationNewCanalFunction · 0.36
testSyncMethod · 0.36
TestMysqlBinlogCodecMethod · 0.36
testNumberWorkerFunction · 0.36
testCurrencyWorkerFunction · 0.36
TestTypeIDValidFunction · 0.36
TestWaitContextFunction · 0.36
TestScheduleWorkAtFunction · 0.36
TestNew64Function · 0.36