Options for AsyncSignal request configuration. More...
#include <Async.h>
Public Types | |
| enum class | Mode : uint8_t { Persistent , OneShot } |
| Reserved signal watching policy. More... | |
Public Attributes | |
| Mode | mode = Mode::Persistent |
| Currently does not bypass the AsyncRequest reactivation contract. | |
| bool | coalesce = true |
| Backend hint; portable code should inspect CompletionData::deliveryCount. | |
Options for AsyncSignal request configuration.
|
strong |
Reserved signal watching policy.
Current portable behavior follows the normal AsyncRequest completion contract: a signal callback receives one delivery and must call Result::reactivateRequest(true) to keep watching for later deliveries.
| Enumerator | |
|---|---|
| Persistent | Default policy; future backend parity work may use it for automatic persistence. |
| OneShot | Future policy for explicit one-shot watchers. |
| bool SC::AsyncSignalOptions::coalesce = true |
Backend hint; portable code should inspect CompletionData::deliveryCount.
| Mode SC::AsyncSignalOptions::mode = Mode::Persistent |
Currently does not bypass the AsyncRequest reactivation contract.