SubscriptionClock
data class SubscriptionClock(val tag: Eventtype, val id: Clockid, val timeout: Timestamp, val precision: Timestamp, val flags: Subclockflags) : SubscriptionU(source)
WASI Preview1 type $subscription_clock
The contents of a subscription
when type is eventtype::clock
.
Parameters
id
The clock against which to compare the timestamp.
timeout
The absolute or relative timestamp.
precision
The amount of time that the implementation may wait additionally to coalesce with other events.
flags
Flags specifying whether the timeout is absolute or relative
Definition:
(typename $subscription_clock
(record
;;; The clock against which to compare the timestamp.
(field $id $clockid)
;;; The absolute or relative timestamp.
(field $timeout $timestamp)
;;; The amount of time that the implementation may wait additionally
;;; to coalesce with other events.
(field $precision $timestamp)
;;; Flags specifying whether the timeout is absolute or relative
(field $flags $subclockflags)
)
)
Content copied to clipboard
Constructors
Link copied to clipboard
constructor(tag: Eventtype, id: Clockid, timeout: Timestamp, precision: Timestamp, flags: Subclockflags)