bluectx

package
v1.85.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 5, 2026 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func First

func First(parent context.Context, ctxs ...context.Context) (
	context.Context, context.CancelFunc,
)

First returns a new context that combines parent with ctxs. The returned context's Done channel is closed the first Done channel of any of the passed ctx closes first. Deadline returns the earliest of deadlines if there's any set. Value returns the first value found, following the passed order, for the given key. Callers must make sure that the returned cancel function is eventually called.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL