-
Calling
SyncMessagePort.receiveMessage()orSyncMessagePort.receiveMessageIfAvailable()while the port has listeners is no longer an error. If these calls consume a message, it won't be propagated to the event listener, and vice versa. If areceiveMessage()call is active at the same time as a listener, an incoming message will be handled preferentially byreceiveMessage(). -
Fix a race condition where sending many messages in a row could (rarely) cause a crash.
- No user-visible changes.
- No user-visible changes.
- No user-visible changes.
-
Add
SyncMessagePort.receiveMessageIfAvailable(). -
Add
timeoutandtimeoutValueoptions toSyncMessagePort.receiveMessage(). -
Add a
closedValueoption toSyncMessagePort.receiveMessage().
- Initial release