Documentation ¶
Overview ¶
Package reconciliationcanceledcontext stores and accesses the canceled in context.Context.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FromContext ¶
FromContext returns the canceled channel, if any.
func IsCanceled ¶
IsCanceled checks whether the given context obtains information about the canceled channel as defined in this package, if any canceled channel is present.
NOTE that the canceled channel, if any found, is only used to be closed to signal cancelation. It is not guaranteed that the channel is buffered or read from. Clients must not write to it. Otherwise the canceled channel will block eventually. It is safe to signal cancelation via SetCanceled.
func NewContext ¶
NewContext returns a new context.Context that carries value v.
func SetCanceled ¶
SetCanceled is a safe way to signal cancelation.
Types ¶
This section is empty.