def poll
import mylsm-lsm-store@0.6.0.1/src/coordinator/UnixSocketIo.bend as UnixSocketIoimport Base
193# Handles poll.
194def poll(
195 socket: File,
196 events: U32,
197 timeout_ms: U32
198) -> IO(File & Result<&1, &1, Error, U32>):
199 do IO<File & Result<&1, &1, Error, U32>>:
200 pair : File & Result<&1, &1, U32 & String, U32> <-
201 unix_socket_poll(socket, events, timeout_ms)
202 return classify_poll_pair(pair)
Uses (11)
Used by (0)
No other definition uses this definition.