MCPcopy Create free account
hub / github.com/TheThingsNetwork/lorawan-stack / Done

Method Done

pkg/component/context.go:33–35  ·  view source on GitHub ↗

Done implements context.Context using the cancel context.

()

Source from the content-addressed store, hash-verified

31
32// Done implements context.Context using the cancel context.
33func (ctx *crossContext) Done() <-chan struct{} {
34 return ctx.cancelCtx.Done()
35}
36
37// Err implements context.Context using the cancel context.
38func (ctx *crossContext) Err() error {

Callers 15

ExampleErrorContextFunction · 0.80
TestErrorContextFunction · 0.80
AcceptMethod · 0.80
inProcessDialerFunction · 0.80
TestConcurrentTaskSetFunction · 0.80
makeReadTaskFunction · 0.80
makeWriteTaskFunction · 0.80
makePingTaskFunction · 0.80
RunMethod · 0.80
SubscribeMethod · 0.80
UnsubscribeMethod · 0.80
TestMuxFunction · 0.80

Calls

no outgoing calls

Tested by 15

ExampleErrorContextFunction · 0.64
TestErrorContextFunction · 0.64
TestConcurrentTaskSetFunction · 0.64
SubscribeMethod · 0.64
UnsubscribeMethod · 0.64
TestMuxFunction · 0.64
SubscribeMethod · 0.64
SubscribeWithHistoryMethod · 0.64
runTestSubscriptionsFunction · 0.64
StartMethod · 0.64
fetchEntityRightsFunction · 0.64
requireAuthInfoFunction · 0.64