summaryrefslogtreecommitdiff
path: root/vendor/github.com/tetratelabs/wazero/internal/wasip1/poll.go
blob: 9bde768f2b308fb300ff35927d36ac8ab2196e86 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
package wasip1

// https://github.com/WebAssembly/WASI/blob/snapshot-01/phases/snapshot/docs.md#-eventtype-enumu8
const (
	// EventTypeClock is the timeout event named "name".
	EventTypeClock = iota
	// EventTypeFdRead is the data available event named "fd_read".
	EventTypeFdRead
	// EventTypeFdWrite is the capacity available event named "fd_write".
	EventTypeFdWrite
)

const (
	PollOneoffName = "poll_oneoff"
)