Versions in this module Expand all Collapse all v1 v1.0.2 Apr 25, 2024 v1.0.1 Apr 24, 2024 Changes in this version + type Result struct + Err error + Val T + type Single struct + func NewSingle[T any](wait time.Duration) *Single[T] + func (s *Single[T]) Do(fn func() (T, error)) (v T, err error, shared bool) + func (s *Single[T]) Reset()