MCPcopy Create free account
hub / github.com/encodeous/nylon / WaitForReady

Method WaitForReady

integration/harness.go:274–280  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

272}
273
274func (i *InMemoryNetwork) WaitForReady() {
275 i.readyCond.L.Lock()
276 defer i.readyCond.L.Unlock()
277 for !i.ready.Load() {
278 i.readyCond.Wait()
279 }
280}
281
282func (i *InMemoryNetwork) Ready() {
283 i.Lock()

Callers 2

BindMethod · 0.95
TunMethod · 0.95

Calls 1

WaitMethod · 0.45

Tested by

no test coverage detected