MCPcopy Create free account
hub / github.com/dagger/dagger / newSessionAttachableManager

Function newSessionAttachableManager

engine/server/session_attachables.go:34–39  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

32}
33
34func newSessionAttachableManager() *sessionAttachableManager {
35 return &sessionAttachableManager{
36 callers: map[string]*sessionAttachableCaller{},
37 waiters: map[string][]chan struct{}{},
38 }
39}
40
41func (m *sessionAttachableManager) Register(ctx context.Context, clientID string, conn net.Conn, methodURLs []string) error {
42 ctx, cancel := context.WithCancelCause(ctx)

Calls

no outgoing calls