Eventtype

WASI Preview1 type $eventtype

Type of a subscription to an event or its occurrence.

TAG: u8

Definition:

(typename $eventtype
(enum (@witx tag u8)
;;; The time value of clock `subscription_clock::id` has
;;; reached timestamp `subscription_clock::timeout`.
$clock
;;; File descriptor `subscription_fd_readwrite::file_descriptor` has data
;;; available for reading. This event always triggers for regular files.
$fd_read
;;; File descriptor `subscription_fd_readwrite::file_descriptor` has capacity
;;; available for writing. This event always triggers for regular files.
$fd_write
)
)

Entries

Link copied to clipboard

The time value of clock subscription_clock::id has reached timestamp subscription_clock::timeout.

Link copied to clipboard

File descriptor subscription_fd_readwrite::file_descriptor has data available for reading. This event always triggers for regular files.

Link copied to clipboard

File descriptor subscription_fd_readwrite::file_descriptor has capacity available for writing. This event always triggers for regular files.

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val code: Int

Functions

Link copied to clipboard
fun valueOf(value: String): Eventtype

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Link copied to clipboard

Returns an array containing the constants of this enum type, in the order they're declared.