messagebus: implement the callbackOnAllDone, callbackOnAnyDone