package context

Import Path
	github.com/aws/smithy-go/context (on go.dev)

Dependency Relation
	imports one package, and imported by one package

Involved Source Files suppress_expired.go
Package-Level Type Names (total 2, neither is exported)
/* sort exporteds by: | */
Package-Level Functions (total 3, all are exported)
GetPreserveExpiredValues looks up, and returns the PreserveExpressValues value in the context. Returning true if enabled, false otherwise.
WithPreserveExpiredValues adds a Value to the Context if expired values should be preserved, and looked up by a Context wrapped by WithSuppressCancel. WithPreserveExpiredValues must be added as a value to a Context, before that Context is wrapped by WithSuppressCancel
WithSuppressCancel wraps the Context value, suppressing its deadline and cancellation events being propagated downstream to consumer of the returned context. By default the wrapped Context's Values are available downstream until the wrapped Context is canceled. Once the wrapped Context is canceled, Values method called on the context return will no longer lookup any key. As they are now considered expired. To override this behavior, use WithPreserveExpiredValues on the Context before it is wrapped by WithSuppressCancel. This will make the Context returned by WithSuppressCancel allow lookup of expired values.