ctxowner

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Oct 3, 2026 License: MIT Imports: 2 Imported by: 0

Documentation

Overview

Package ctxowner joins the lifetime of one context with the request values of another.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func WithValuesOf

func WithValuesOf(owner, values context.Context) context.Context

WithValuesOf returns a context that is done when owner is done and whose values are owner's, then values'. An extension reload runs for the command that asked for it (it keeps the command's request values) while the extension processes it starts live as long as owner, not as long as that command.

Types

This section is empty.

Jump to

Keyboard shortcuts

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