Documentation ¶
Index ¶
- type Option
- type Singleton
- type Task
- func (t *Task) AddState(s string) int
- func (t *Task) Concurrency() int
- func (t *Task) HasBeenInit() bool
- func (t *Task) Init(opts ...Option)
- func (t *Task) Log() []string
- func (t *Task) Logf(format string, a ...any)
- func (t *Task) Logln(a ...any)
- func (t *Task) Output() []string
- func (t *Task) Printf(format string, a ...any)
- func (t *Task) Println(a ...any)
- func (t *Task) SetState(line int, s string)
- func (t *Task) State() []string
- type Tasker
- type Work
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
}
func (*Task) Concurrency ¶
func (*Task) HasBeenInit ¶
type Tasker ¶
type Tasker[E storage.Entry] interface { // Title need to be implemented Title() string // Prepare need to be implemented Prepare() error // PreDo need to be implemented PreDo() error // PostDo need to be implemented PostDo() error // Close need to be implemented Close() error // Blink need to be implemented Blink() Init(...Option) HasBeenInit() bool Concurrency() int State() []string Output() []string }
Click to show internal directories.
Click to hide internal directories.