dispatching
batch.dispatching()
Returns the Queue that is executing tasks.
var canEvent = require("can-event");
var batch = require("can-event/batch/batch");
var obj = Object.assign({}, canEvent);
batch.start();
obj.dispatch("first");
batch.stop();
Returns
{can-event/batch/Queue}
:
The queue currently executing tasks.