Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Blocker ¶
type Blocker interface { Pop() *types.ClaimableWallet Next() }
func NewBlocker ¶
func NewBlocker(k types.VaultKeeper) Blocker
type Job ¶
type Job struct { Name string Action func() error // A function that should be executed when the job is running. }
Job - holds fmtic to perform some operations during queue execution.
type Queue ¶
type Queue struct {
// contains filtered or unexported fields
}
Queue holds name, list of jobs and context with cancel.
func (*Queue) PendingJobs ¶
PendingJobs returns number of pending jobs.
Click to show internal directories.
Click to hide internal directories.