You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In some controllers, you want to send multiple commands simultaneously and do something if all of them "returned an event".
varpromiseOne=CQRS.sendCommand({command: 'move',payload: {attribute: 'one'}});varpromiseTwo=CQRS.sendCommand({command: 'hop',payload: {attribute: 'two'}});$q.all([promiseOne,promiseTwo]).then(function(){// received matching events for both commands!});
The text was updated successfully, but these errors were encountered:
In some controllers, you want to send multiple commands simultaneously and do something if all of them "returned an event".
The text was updated successfully, but these errors were encountered: