record AllocCB : Type- Totality: total
Visibility: export
Constructor: AC : AnyPtr -> AllocCB
Projection: .ptr : AllocCB -> AnyPtr
Hint: Resource AllocCB
allocCB : HasIO io => (Ptr Handle -> Bits32 -> Ptr Buf -> IO ()) -> io AllocCB- Totality: total
Visibility: export sizedAlloc : HasIO io => Bits32 -> io AllocCB- Totality: total
Visibility: export defaultAlloc : HasIO io => io AllocCB- Totality: total
Visibility: export freeAllocCB : HasIO io => AllocCB -> io ()- Totality: total
Visibility: export uv_shutdown : HasIO io => Ptr t -> {auto 0 _ : PCast t Stream} -> (Ptr Shutdown -> Int32 -> IO ()) -> io Int32 Shutdown the outgoing (write) side of a duplex stream.
It waits for pending write requests to complete. The handle should
refer to a initialized stream.
The cb is called after shutdown is complete.
Totality: total
Visibility: exportuv_listen : HasIO io => Ptr t -> {auto 0 _ : PCast t Stream} -> Int32 -> (Ptr Stream -> Int32 -> IO ()) -> io Int32 Start listening for incoming connections.
backlog indicates the number of connections the kernel might queue,
same as listen(2). When a new incoming connection is received
the uv_connection_cb callback is called.
Totality: total
Visibility: exportuv_accept : HasIO io => Ptr s -> Ptr t -> {auto 0 _ : PCast s Stream} -> {auto 0 _ : PCast t Stream} -> io Int32- Totality: total
Visibility: export uv_read_start : HasIO io => Ptr t -> {auto 0 _ : PCast t Stream} -> AllocCB -> (Ptr Stream -> Int32 -> Ptr Buf -> IO ()) -> io Int32 Read data from an incoming stream.
The `readCB` callback will be made several times until there is
no more data to read or `readstop` is called.
Totality: total
Visibility: exportuv_read_stop : HasIO io => Ptr t -> {auto 0 _ : PCast t Stream} -> io () Stop reading data from the stream. The uv_read_cb callback will no longer
be called.
This function is idempotent and may be safely called on a stopped stream.
This function will always succeed; hence, checking its return value
is unnecessary. A non-zero return indicates that finishing releasing
resources may be pending on the next input event on that TTY on Windows,
and does not indicate failure.
Totality: total
Visibility: exportuv_write : HasIO io => Ptr t -> {auto 0 _ : PCast t Stream} -> Ptr Bits8 -> Bits32 -> (Ptr Write -> Int32 -> IO ()) -> io Int32 Write data to stream. Buffers are written in order. Example:
Totality: total
Visibility: exportuv_is_readable : HasIO io => Ptr t -> {auto 0 _ : PCast t Stream} -> io Bool- Totality: total
Visibility: export uv_is_writable : HasIO io => Ptr t -> {auto 0 _ : PCast t Stream} -> io Bool- Totality: total
Visibility: export uv_stream_set_blocking : HasIO io => Ptr t -> {auto 0 _ : PCast t Stream} -> Bool -> io Int32- Totality: total
Visibility: export uv_get_write_queue_size : HasIO io => Ptr t -> {auto 0 _ : PCast t Stream} -> io Bits32- Totality: total
Visibility: export