Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Group ¶
type Group struct { HandleCrit func(err error) // contains filtered or unexported fields }
Group is a tasks group, which can at any point be awaited to complete. Tasks in the group are run in separate go routines. If a task panics, the panic is recovered with HandleCrit.
type Poller ¶ added in v1.11.0
type Poller struct {
// contains filtered or unexported fields
}
Poller runs a function on repeat at a set interval. Warning: ticks can be missed, if the function execution is slow.
func (*Poller) SetInterval ¶ added in v1.11.0
SetInterval changes the polling interval.
Click to show internal directories.
Click to hide internal directories.