Versions in this module Expand all Collapse all v0 v0.0.1 Oct 22, 2023 Changes in this version + var ErrTimeoutReached = errors.New("timeout reached") + func Execute[T any](duration time.Duration, fn Function[T]) (T, error) + type Function func() (T, error)