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

Method TryWait

intra/core/sigcond.go:57–67  ·  view source on GitHub ↗

TryWait waits until signalled, or until max time has elapsed. It returns true if signal fires, false if timeout elapsed. If already signalled, it returns immediately.

(timeout time.Duration)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 3

WriteToMethod · 0.80
WriteMethod · 0.80
WriteToMethod · 0.80

Calls 1

LoadMethod · 0.45

Tested by

no test coverage detected