SubscriptionFdReadwrite

data class SubscriptionFdReadwrite(val tag: Eventtype, val fileDescriptor: Fd) : SubscriptionU(source)

WASI Preview1 type $subscription_fd_readwrite

The contents of a subscription when type is type is eventtype::fd_read or eventtype::fd_write.

Parameters

fileDescriptor

The file descriptor on which to wait for it to become ready for reading or writing.

Definition:

(typename $subscription_fd_readwrite
(record
;;; The file descriptor on which to wait for it to become ready for reading or writing.
(field $file_descriptor $fd)
)
)

Constructors

Link copied to clipboard
constructor(tag: Eventtype, fileDescriptor: Fd)

Properties

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