Is there a way for executing a code asynchronously upon completion of a BatchJob?
The waitForCompletion method seems to be a blocking call.
We have map reduce job that triggers a batch job, we want to report some information after that the batch jobs completion, but we don’t want to block the map actions (if will prevent other map from being dispatched).

Thank you @trothwein for the hint.
I was actually a platform defined batch job Import.startImport()
This means I need to provision a new type for doing my operation task. It would have been easier if we have got a (javascript lambda) callback to pass to that batch.