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

Method Deadline

pkg/component/context.go:28–30  ·  view source on GitHub ↗

Deadline implements context.Context using the cancel context.

()

Source from the content-addressed store, hash-verified

26
27// Deadline implements context.Context using the cancel context.
28func (ctx *crossContext) Deadline() (deadline time.Time, ok bool) {
29 return ctx.cancelCtx.Deadline()
30}
31
32// Done implements context.Context using the cancel context.
33func (ctx *crossContext) Done() <-chan struct{} {

Callers 5

TestContextDecouplingFunction · 0.80
TestBackendFunction · 0.80
LockMutexFunction · 0.80
newTestStoreFunction · 0.80
runTestFromContextFunction · 0.80

Calls

no outgoing calls

Tested by 3

TestContextDecouplingFunction · 0.64
TestBackendFunction · 0.64
newTestStoreFunction · 0.64