MCPcopy Create free account
hub / github.com/PuerkitoBio/fetchbot / Done

Method Done

fetch.go:161–163  ·  view source on GitHub ↗

Done returns a channel that is closed when the Queue is closed (either via Close or Cancel). Multiple calls always return the same channel.

()

Source from the content-addressed store, hash-verified

159// Done returns a channel that is closed when the Queue is closed (either
160// via Close or Cancel). Multiple calls always return the same channel.
161func (q *Queue) Done() <-chan struct{} {
162 return q.done
163}
164
165// Cancel closes the Queue and drains the pending commands without processing
166// them, allowing for a fast "stop immediately"-ish operation.

Callers 3

TestGoroLeakFunction · 0.80
processQueueMethod · 0.80
processChanMethod · 0.80

Calls

no outgoing calls

Tested by 1

TestGoroLeakFunction · 0.64