MCPcopy Create free account
hub / github.com/chainreactors/EvilProxy / notifySessionReady

Method notifySessionReady

internal/bridge/bridge.go:299–303  ·  view source on GitHub ↗

notifySessionReady signals any goroutines waiting for the given session.

(sessionID string)

Source from the content-addressed store, hash-verified

297
298// notifySessionReady signals any goroutines waiting for the given session.
299func (b *Bridge) notifySessionReady(sessionID string) {
300 if ch, loaded := b.sessionReady.LoadAndDelete(sessionID); loaded {
301 close(ch.(chan struct{}))
302 }
303}
304
305// reconnectSpiteStream attempts to re-open the SpiteStream with exponential backoff.
306func (b *Bridge) reconnectSpiteStream(lastErr error) {

Calls

no outgoing calls