Help us shape the future of Go! Take the 2026 Go Developer Survey

asyncconfig

package
v0.1.21 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ConfigFor

func ConfigFor(ctx context.Context, name string) (*asynccfg.Config, bool)

ConfigFor returns async config for a tool.

func MarkTool

func MarkTool(ctx context.Context, name string, cfg *asynccfg.Config)

MarkTool records async config for a tool.

func WithState

func WithState(ctx context.Context) context.Context

WithState ensures a mutable async-config state exists in context.

Types

type State

type State struct {
	// contains filtered or unexported fields
}

func StateFromContext

func StateFromContext(ctx context.Context) *State

StateFromContext returns async-config state when present.

Jump to

Keyboard shortcuts

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