Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Run ¶
func Run(ctx context.Context, backgrounds ...Background) <-chan struct{}
Types ¶
type Background ¶
type BackgroundFunction ¶
type Function ¶
type Function struct {
// contains filtered or unexported fields
}
func NewFunction ¶
func NewFunction(fn BackgroundFunction) Function
func (Function) Background ¶
Click to show internal directories.
Click to hide internal directories.