Versions in this module Expand all Collapse all v0 v0.4.0 Nov 14, 2019 Changes in this version + type DeadlineRunner struct + func NewDeadlineRunner(f func()) *DeadlineRunner + func (r *DeadlineRunner) SetDeadline(deadline time.Time) + type Monitor interface + Count func() int + SetDeadline func(deadline time.Time) + WithDeadline func(ctx context.Context, deadline time.Time) (context.Context, context.CancelFunc) + WithTimeout func(ctx context.Context, timeout time.Duration) (context.Context, context.CancelFunc) + func NewMonitor() Monitor