Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type OrderGroup ¶
type OrderGroup struct {
// contains filtered or unexported fields
}
OrderGroup ensures a set of async tasks are performed in scheduled order.
func (*OrderGroup) DoRank ¶
func (g *OrderGroup) DoRank(i int, f Task)
DoRank starts the i-th (0 <= i < n) rank.
func (*OrderGroup) Start ¶
func (g *OrderGroup) Start()
func (*OrderGroup) Stop ¶
func (g *OrderGroup) Stop()
func (*OrderGroup) Wait ¶
func (g *OrderGroup) Wait() []int
Click to show internal directories.
Click to hide internal directories.