Documentation ¶
Overview ¶
* Copyright (c) 2023 Juice Technologies, Inc. All Rights Reserved.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type TaskManager ¶
type TaskManager struct {
// contains filtered or unexported fields
}
func NewTaskManager ¶
func NewTaskManager(ctx context.Context) *TaskManager
func (*TaskManager) Cancel ¶
func (group *TaskManager) Cancel()
func (*TaskManager) Ctx ¶
func (group *TaskManager) Ctx() context.Context
func (*TaskManager) Go ¶
func (group *TaskManager) Go(label string, task Task)
func (*TaskManager) GoFn ¶
func (group *TaskManager) GoFn(label string, task TaskFn)
func (*TaskManager) Wait ¶
func (group *TaskManager) Wait() error
Click to show internal directories.
Click to hide internal directories.