OptionalconcurrencyOptionalmaxIf the queue size grows to larger than this number the promise returned from the add function will reject
OptionalmetricThe name of the metric for the queue length
OptionalmetricsAn implementation of the libp2p Metrics interface
OptionalsortAn optional function that will sort the queue after a job has been added
Concurrency limit.
Minimum:
1.