Documentation
¶
Overview ¶
Package detach provides basic blocks for running goroutines with a detached context.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Task ¶
type Task struct {
// contains filtered or unexported fields
}
A Task describes the status of a detached function call started by calling Go.
func Go ¶
Go starts a new goroutine with a detached context and returns a Task that can be used to cancel and/or wait for the function to return.
Click to show internal directories.
Click to hide internal directories.