Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Done ¶ added in v0.27.0
func Done() <-chan struct{}
Done returns a channel which is closed when the task is done. Currently, this channel is never closed to support cloudflare.WaitUntil feature.
func ScheduleTaskNonBlock ¶ added in v0.27.0
func ScheduleTaskNonBlock(task Task)
ScheduleTaskNonBlock sets the Task to be executed but does not signal readiness or block indefinitely. The non-blocking form is meant to be used in conjunction with workers.Serve.
Types ¶
Click to show internal directories.
Click to hide internal directories.