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 existing coroutines to handle the existing synchronisation primitives (a generalised flag) are moved to the dedicated module, and tests are added (previously it was considered an implementation details and not tested directly).
A new synchronisation primitive is added to simplify the code and reduce the semantical complexity of the logic by removing the technical low-level details from it:
A toggle, which is like an event, but is bi-directional: can be turned on/off, and can be awaited until turned on/off — unlike the events, which can be awaited only until turned on, but not off.
Types of Changes
Refactoring
Review
List of tasks the reviewer must do to review the PR
Tests
The text was updated successfully, but these errors were encountered:
Description
The existing coroutines to handle the existing synchronisation primitives (a generalised flag) are moved to the dedicated module, and tests are added (previously it was considered an implementation details and not tested directly).
A new synchronisation primitive is added to simplify the code and reduce the semantical complexity of the logic by removing the technical low-level details from it:
A toggle, which is like an event, but is bi-directional: can be turned on/off, and can be awaited until turned on/off — unlike the events, which can be awaited only until turned on, but not off.
Types of Changes
Review
List of tasks the reviewer must do to review the PR
The text was updated successfully, but these errors were encountered: