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
Since the B.remove operation atomically removes the listener from the bag of listeners, it could simply return a boolean to indicate whether the operation was successful (or False if the token was already removed from the bag).
This itself would serve as a "winnerCheck" for deduplication, and remove the need for an additional atomic operation.
The text was updated successfully, but these errors were encountered:
Since the
B.remove
operation atomically removes the listener from the bag of listeners, it could simply return a boolean to indicate whether the operation was successful (or False if the token was already removed from the bag).This itself would serve as a "winnerCheck" for deduplication, and remove the need for an additional atomic operation.
The text was updated successfully, but these errors were encountered: