Documentation
¶
Index ¶
- Variables
- func Resolve(root, from, ref string) string
- type Suite
- func (s *Suite) Acquire(ctx context.Context, tags []string) (func(), error)
- func (s *Suite) DoOnce(ctx context.Context, key string, run func(context.Context) (any, error)) (any, error)
- func (s *Suite) DoSingle(ctx context.Context, key string, run func(context.Context) (any, error)) (any, error)
- func (s *Suite) Listen(ctx context.Context, timeout time.Duration, wake <-chan struct{}) (any, error)
- func (s *Suite) Signal(v any) error
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrYield = errors.New("yield")
ErrYield asks a parked call to run another retained call and wait again.
Functions ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.