Versions in this module Expand all Collapse all v0 v0.0.1 May 26, 2026 Changes in this version + type Cache interface + Add func(key K, value V) + Get func(key K) (V, bool) + type Group struct + func NewGroup[K comparable, V any](opt ...Option[*groupOptions[K, V]]) *Group[K, V] + func (g *Group[K, V]) Get(ctx context.Context, key K, fetcher func(context.Context) (V, error)) (V, bool, error) + type Option interface + func WithGroupCache[K comparable, V any](cache Cache[K, V]) Option[*groupOptions[K, V]] + func WithGroupContext[K comparable, V any](ctx context.Context) Option[*groupOptions[K, V]] + func WithGroupTaskAutoCancel[K comparable, V any](enabled bool) Option[*groupOptions[K, V]] + func WithTaskAutoCancel[T any](enabled bool) Option[*taskOptions[T]] + func WithTaskContext[T any](ctx context.Context) Option[*taskOptions[T]] + func WithTaskDone[T any](done func(val T, err error)) Option[*taskOptions[T]] + type Task struct + func NewTask[T any](opt ...Option[*taskOptions[T]]) *Task[T] + func (t *Task[T]) Get(ctx context.Context, f func(context.Context) (T, error)) (T, bool, error)