package
Version:
v0.0.0-...-3ffe1d7
Opens a new window with list of versions in this module.
Published: Aug 10, 2024
License: ISC
Opens a new window with license information.
Imports: 3
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
A Task is a wrapper around a function that offers scheduling
and syncronization.
New makes a new task with the callback.
Context gets the task's context.
func (task *Task) Schedule()
Schedule schedules a task for later execution.
Stop stops a task. This should not be done to stop a single run,
but as a way to cancel it forever.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.