Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
TimeoutErr = fmt.Errorf("workers execute timeout")
)
Functions ¶
This section is empty.
Types ¶
type Group ¶ added in v1.6.0
type Group interface {
Add(key string, task GroupTask)
Run(ctx context.Context) (future GroupFuture)
}
type GroupFuture ¶ added in v1.6.0
type GroupFuture interface {
Wait(ctx context.Context) (result GroupResult, err error)
}
type GroupResult ¶ added in v1.6.0
Click to show internal directories.
Click to hide internal directories.