Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
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 ¶
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 ¶
SetInterval changes the polling interval.
Click to show internal directories.
Click to hide internal directories.