Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix sending of messages to the calling Task in vibe.core.concurrency.…
… Semantic change! This change also slightly changes the semantics in case of boolean message handlers. In particular, if there are message handlers that accept a certain type of message, but all of them return false, the message will be removed from the queue anyway as if it was handled. Since std.concurrency doesn't really specify a behavior in this case, it should generally be avoided in the first place.
- Loading branch information
Showing
1 changed file
with
57 additions
and
30 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters