package
0.0.0-20241224114647-05f97e917eb5
Repository: https://github.com/v0vc/go-music-grpc.git
Documentation: pkg.go.dev

# Constants

DefaultMaxLoaded is used when no max is specified.
No description provided by the author
No description provided by the author
No description provided by the author

# Structs

DynamicWorkerPool implements a simple dynamic-sized worker pool that spins up a new worker per unit of work, until the maximum number of workers has been reached.
FixedWorkerPool implements a simple fixed-size worker pool that lets go runtime schedule work atop some number of goroutines.
Loader is an asynchronously loaded resource.
LoaderStats tracks some stats about the loader.
Resource is an async entity that can be in various states and potentially contain a value.

# Interfaces

Scheduler schedules work according to some strategy.
Tag pointer used to identify a unique resource.

# Type aliases

LoadFunc function that performs the blocking load.
State that an async Resource can be in.