async_swap

package
v1.10.21-0...-079df4a Latest Latest
Warning

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

Go to latest
Published: Nov 24, 2025 License: MIT Imports: 28 Imported by: 0

Documentation

Index

Constants

View Source
const (
	BatchSizeConfigEnvName = envConfigPrefix + "WORKER_BATCH_SIZE"
)

Variables

This section is empty.

Functions

func New

func New(data code_data.Provider, configProvider ConfigProvider) async.Service

Types

type ConfigProvider

type ConfigProvider func() *conf

ConfigProvider defines how config values are pulled

func WithEnvConfigs

func WithEnvConfigs() ConfigProvider

WithEnvConfigs returns configuration pulled from environment variables

Jump to

Keyboard shortcuts

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