addJobThrow method
Add new job in to the queue
if the queue is closed, throw ClosedQueueException
Implementation
@override
void addJobThrow(
AsyncJob job, {
String? label,
String? description,
int retryTime = 1,
}) {
if (isClosed) {
throw ClosedQueueException("Closed Queue");
} else {
addJob(
job,
retryTime: retryTime,
label: label,
description: description,
);
}
}