Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var RunTask func(ctx context.Context, f func())
RunTask runs the `f` in background, and `ctx` is optional. `ctx` is used to pass to underlying implementation
Functions ¶
func UseGoRunTask ¶
func UseGoRunTask()
UseGoRunTask updates RunTask with goRunTask which creates a new goroutine for the given func, basically `go f()`
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.