1 package wasip1 2 3 // https://github.com/WebAssembly/WASI/blob/snapshot-01/phases/snapshot/docs.md#-eventtype-enumu8 4 const ( 5 // EventTypeClock is the timeout event named "name". 6 EventTypeClock = iota 7 // EventTypeFdRead is the data available event named "fd_read". 8 EventTypeFdRead 9 // EventTypeFdWrite is the capacity available event named "fd_write". 10 EventTypeFdWrite 11 ) 12 13 const ( 14 PollOneoffName = "poll_oneoff" 15 ) 16