Struct Timeout
A type for specifying absolute timeouts
struct Timeout
;
Constructors
Name | Description |
---|---|
this
|
Construct a timeout from TscTimePoint |
this
|
Construct a timeout from Duration |
Fields
Name | Type | Description |
---|---|---|
expiry
|
TscTimePoint | The expected expiry time |
Properties
Name | Type | Description |
---|---|---|
expired [set]
|
bool | Checks whether a Timeout has expired. |
remaining [set]
|
core | Report how much time until the timeout expires |