def bind

mylsm-lsm-store@0.6.0.1 · src/coordinator/UnixSocketIo.bend:117

import mylsm-lsm-store@0.6.0.1/src/coordinator/UnixSocketIo.bend as UnixSocketIo
import Base

117# Binds one socket descriptor to an already validated local endpoint path.
118def bind(
119  server: File,
120  path: String
121) -> IO(File & Result<&1, &1, Error, Unit>):
122  do IO<File & Result<&1, &1, Error, Unit>>:
123    pair : File & Result<&1, &1, U32 & String, Unit> <-
124      unix_socket_bind(server, path)
125    return classify_file_unit(pair)

Uses (12)

Used by (0)

No other definition uses this definition.