MCPcopy Create free account
hub / github.com/PostHog/duckgres / newSessionLifecycle

Function newSessionLifecycle

controlplane/session_lifecycle.go:17–23  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

15}
16
17func newSessionLifecycle() *sessionLifecycle {
18 l := &sessionLifecycle{
19 cancels: make(map[int64]context.CancelFunc),
20 }
21 l.cond = sync.NewCond(&l.mu)
22 return l
23}
24
25func (l *sessionLifecycle) initializeLocked() {
26 if l.cond == nil {

Callers 1

NewOrgSessionManagerFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected