Pleroma Job Queue v0.2.0 PleromaJobQueue.State View Source
A queue state
Link to this section Summary
Link to this section Types
Link to this type
job() View Source
Link to this type
queue()
View Source
queue()
View Source
queue() :: [%{item: job(), priority: non_neg_integer()}]
queue() :: [%{item: job(), priority: non_neg_integer()}]
Link to this type
running_jobs() View Source
Link to this type
t()
View Source
t()
View Source
t() :: %PleromaJobQueue.State{
queues: %{optional(atom()) => {running_jobs(), queue()}},
refs: %{optional(reference()) => atom()}
}
t() :: %PleromaJobQueue.State{ queues: %{optional(atom()) => {running_jobs(), queue()}}, refs: %{optional(reference()) => atom()} }