Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AsynqWorker ¶
type AsynqWorker struct {
// contains filtered or unexported fields
}
func NewAsynqWorker ¶
func NewAsynqWorker(name string, server *distributed.TipSetWorker, handlers ...TaskHandler) *AsynqWorker
func (*AsynqWorker) Done ¶
func (t *AsynqWorker) Done() <-chan struct{}
type TaskHandler ¶ added in v0.12.0
type TaskHandler interface { Type() string Handler() asynq.HandlerFunc }
Click to show internal directories.
Click to hide internal directories.