Marmos
v juptune
v asn1
v lang
v ast
v Classes
v Enums
v ir
v parser
v Enums
v Structs
v core
v crypto
v keyexchange
v memory
v data
v alphabet
v buffer
v json
v builder
v parser
v Enums
v Structs
v serialise
v Structs
v Templates
v pem
v Enums
v Structs

Structs SubmitEventConfig

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
module 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;
}

Documentation

Configuration for submitting an event

Functions

Name Description
shouldYieldUntilCompletion
withTimeout

Variables

Name Description
timeout

The timeout for the event.

yieldUntilComplete

Whether the fiber should yield until a CQE is generated