Proofline

The sync setter checks the flag before taking its subscriber snapshot.

thekarannagpal/sdk-python#1Reviewed commit 4447440

Warning · Concurrency

A new wait can subscribe after the event is cleared but before the setter takes that snapshot.

Impact

The new wait can return `STOPPED` even though the event was never set during it.

Recommended action

Snapshot eligible subscribers before invoking the original setter, and publish only to that snapshot.

Cited code

Checked
Pull request code. The environment was not checked.
Status
Completed
Started
Completed