Documentation
¶
Index ¶
- type Multiple
- func (m *Multiple[T]) Close(k ...string) (err error)
- func (m *Multiple[T]) CloseByKey(k ...string)
- func (m *Multiple[T]) Delete(k string)
- func (m *Multiple[T]) Done(k string) error
- func (m *Multiple[T]) Init(delay time.Duration, f func(T) error)
- func (m *Multiple[T]) Range(cb func(string, RunDelayer[T])) error
- func (m *Multiple[T]) Run(k string, v T) bool
- type RunDelay
- type RunDelayer
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Multiple ¶
type Multiple[T any] struct { // contains filtered or unexported fields }
func NewMultiple ¶
func (*Multiple[T]) CloseByKey ¶ added in v0.0.3
Click to show internal directories.
Click to hide internal directories.