123456789101112131415161718module juptune.event.loop.async;
struct SubmitEventConfig
{
/++ FUNCTIONS ++/
///
SubmitEventConfig shouldYieldUntilCompletion(bool value);
///
SubmitEventConfig withTimeout(Duration value);
/++ VARIABLES ++/
/// The timeout for the event.
Duration timeout;
/// Whether the fiber should yield until a CQE is generated
Flag!("yieldUntilCompletion") yieldUntilComplete;
}
Configuration for submitting an event
| Name | Description |
|---|---|
| shouldYieldUntilCompletion | |
| withTimeout |
| Name | Description |
|---|---|
| timeout |
The timeout for the event. |
| yieldUntilComplete |
Whether the fiber should yield until a CQE is generated |