def poll_many.result
mylsm-lsm-store@0.6.0.1 · src/coordinator/UnixSocketIo.bend:213
import mylsm-lsm-store@0.6.0.1/src/coordinator/UnixSocketIo.bend as UnixSocketIo
import Base
import mylsm-lsm-store@0.6.0.1/src/coordinator/UnixSocketTypes.bend as SocketTypes
213def poll_many.result(
214 pair: List<SocketTypes.PollInterest> & Result<&1, &1, U32 & String, List<&2, SocketTypes.ReadyEvent>>
215) -> List<SocketTypes.PollInterest> &
216 Result<&1, &1, Error, List<&2, SocketTypes.ReadyEvent>>:
217 match pair:
218 case (interests, Done{flags}): (interests, Done{flags})
219 case (interests, Fail{error}): (interests, Fail{classify(error)})