MCPcopy Create free account
hub / github.com/pion/ice / Done

Method Done

internal/taskloop/taskloop.go:100–102  ·  view source on GitHub ↗

The following methods implement context.Context for TaskLoop Done returns a channel that's closed when the task loop has been stopped.

()

Source from the content-addressed store, hash-verified

98
99// Done returns a channel that's closed when the task loop has been stopped.
100func (l *Loop) Done() <-chan struct{} {
101 return l.done
102}
103
104// Err returns nil if the task loop is still running.
105// Otherwise it return errClosed if the loop has been closed/stopped.

Callers 1

RunMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected