MCPcopy Index your code
hub / github.com/docker/docker-agent / markReady

Method markReady

pkg/server/session_manager.go:113–115  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

111}
112
113func (sm *SessionManager) markReady() {
114 sm.sessionReadyOnce.Do(func() { close(sm.sessionReady) })
115}
116
117// WaitReady blocks until at least one session has been attached or created,
118// or ctx is cancelled. Returns nil when ready, ctx.Err() on timeout.

Callers 2

AttachRuntimeMethod · 0.95
RunSessionMethod · 0.95

Calls 1

DoMethod · 0.65

Tested by

no test coverage detected