Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Async ¶
type Task ¶
type Task struct { Execute func() // what to execute // contains filtered or unexported fields }
*
A task executes We need to tell tasks if there is an error shutdown and don't execute We need to interrupt a task which is running if a signal tells us to or the Tasks is executing to long We need to control the number of executing tasks We want to enter a task for executing when the task is ready to execute We need to know when all tasks have completed.
Task to execute, each task has a timeout in seconds
Click to show internal directories.
Click to hide internal directories.