Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ManagedRoutine ¶ added in v0.0.6
type ManagedRoutine struct {
// contains filtered or unexported fields
}
func WithInterval ¶ added in v0.0.6
func WithInterval(ctx context.Context, duration time.Duration, task func()) ManagedRoutine
func (*ManagedRoutine) After ¶ added in v0.0.6
func (r *ManagedRoutine) After(cb func()) *ManagedRoutine
func (ManagedRoutine) Run ¶ added in v0.0.6
func (r ManagedRoutine) Run()
type SafeExecutor ¶
type SafeExecutor struct {
errors.ErrorNotifier
}
func (SafeExecutor) Handle ¶
func (handler SafeExecutor) Handle(executor func() error) error
Click to show internal directories.
Click to hide internal directories.