An implementation of allTranstionEnd event.