Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Routine ¶
type Routine struct {
// contains filtered or unexported fields
}
func RunLoop ¶
func RunLoop(function RoutineFunc, loopInterval time.Duration, timeout *time.Duration, args ...interface{}) *Routine
Create new routine.
func RunOnce ¶
func RunOnce(function RoutineFunc, args ...interface{}) *Routine
type RoutineFunc ¶
type RoutineFunc func(args ...interface{})
Click to show internal directories.
Click to hide internal directories.