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
The Listen method of MessageBus doesn't specify a scheduler. If you happen to call Listen for a type, and then send a message on a different scheduler than the default, it'll still get sent on the default scheduler because the Listen method creates a dictionary the first time and SendMessage calls the same dictionary.
The text was updated successfully, but these errors were encountered:
This resolves a bug in which listening for an event before sending the first message will lock all messages to the default scheduler rather than the one passed into the `SendMessage` method.
The API is now more explicit. Call `RegisterScheduler` to register a scheduler for each combination of message type and contract. If you don't register a scheduler, the default one is used. This ensures that `Listen` and `SendMessage` calls are always paired up properly on the same scheduler.
Closes Issue #47
The
Listen
method ofMessageBus
doesn't specify a scheduler. If you happen to callListen
for a type, and then send a message on a different scheduler than the default, it'll still get sent on the default scheduler because theListen
method creates a dictionary the first time and SendMessage calls the same dictionary.The text was updated successfully, but these errors were encountered: