handle method
Handle the job context Call next() to continue to the next middleware or job execution
Implementation
@override
Future<void> handle(QueueJobContext context, Next next) async {
try {
await next();
} catch (e, stack) {
onError?.call(context.job, e, stack);
if (rethrowErrors) {
rethrow;
}
}
}