async

package
v0.8.1 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Dispatch

func Dispatch(ctx context.Context, handler func(ctx context.Context) error)

Dispatch executes a handler function asynchronously with proper context and panic recovery

func GetAsyncMode

func GetAsyncMode(ctx context.Context) *async.Config

GetAsyncMode gets async mode configuration from context

func WithAsyncMode

func WithAsyncMode(ctx context.Context, cfg *async.Config) context.Context

WithAsyncMode sets async mode configuration in context

Types

This section is empty.

Jump to

Keyboard shortcuts

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