Created on 2025-08-31.00:00:00 last changed 2 weeks ago
The main purpose of affine_on
is to make sure work
resumes on a specific execution context. The scheduling operation
may take some time and work may be cancelled in the meantime. If
this cancellation causes the scheduling to be cancelled work cleaning
up after the cancellation would be executed on the wrong execution
context. Thus, the stop token from the receiver's environment should
only be forwarded when connect
ing the sender but not
to the scheduling operation.
History | |||
---|---|---|---|
Date | User | Action | Args |
2025-08-31 00:00:00 | admin | create |