def accept
import mylsm-lsm-store@0.6.0.1/src/coordinator/UnixSocketIo.bend as UnixSocketIoimport Base
152# Accepts one queued connection and preserves the listening descriptor.
153def accept(
154 server: File
155) -> IO(File & Result<&1, &1, Error, File>):
156 do IO<File & Result<&1, &1, Error, File>>:
157 pair : File & Result<&1, &1, U32 & String, File> <-
158 unix_socket_accept(server)
159 return classify_file_result(pair)
Uses (11)
Used by (0)
No other definition uses this definition.