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)
)
)

Constructors

Link copied to clipboard
constructor(tag: Eventtype, id: Clockid, timeout: Timestamp, precision: Timestamp, flags: Subclockflags)

Properties

Link copied to clipboard
Link copied to clipboard
val id: Clockid
Link copied to clipboard
Link copied to clipboard
open override val tag: Eventtype
Link copied to clipboard