Open EECOLOR opened 5 years ago
Does passing the function in this way change the default behavior outlined in https://github.com/kaliberjs/firebase-queue/issues/11#issuecomment-428839371 ?
@geoervin Great question! No it does not, it is just a simplification.
Instead of passing the reportError
to both the queue and processTask
function, users of the library just pass it to the queue and have it available in the processTask
function if needed.
Please vote on this issue if you would like this feature to be added.
This feature request came from https://github.com/kaliberjs/firebase-queue/issues/11
Instead of this:
We want to do this: