def write.nonblocking.start
mylsm-lsm-store@0.6.0.1 · src/coordinator/Io.bend:213
import mylsm-lsm-store@0.6.0.1/src/coordinator/Io.bend as Io
import Base
213def write.nonblocking.start(
214 file: File,
215 offset: U32,
216 length: U32,
217 total: U32,
218 words: Array<U32>
219) -> IO(File & WriteAttempt):
220 do IO<File & WriteAttempt>:
221 pair : File & (Array<U32> & Result<&1, &1, U32 & String, U32>) <-
222 unix_socket_write_nonblocking(file, offset, length, words)
223 return write.nonblocking.wrap(pair, total)