ShouldStart reports true atomically for a specific uint64, if a process can start. Safe for concurrent use. You should check ShouldStart() first in your switch statement: switch { case hs.ShouldStart(scopeHash): // start here your process err := hs.Done(scopeHash) case hs.ShouldWait(
(key uint64)
source not stored for this graph (policy: none)