I had made another plugin named "wait event" since I don't want to repeat ajax plugin,
Wait event plugin,
Example
User registers waiting event by "action: wait event", then remove waiting event by "action: event has finished". When all events are finished, "condition: on all events finished" will be fired.
Batch ajax plugin will be stopped maintain.