Idris2Doc : System.UV.Raw.Handle

System.UV.Raw.Handle

(source)

Definitions

uv_handle_type_name : Int->String
  Returns the name of the handle type.
recordCloseCB : Type
Totality: total
Visibility: export
Constructor: 
CC : AnyPtr->CloseCB

Projection: 
.ptr : CloseCB->AnyPtr

Hints:
UVLoop=>CloseCB
CloseCB=>Resource (PtrTcp)
CloseCB=>Resource (PtrStream)
CloseCB=>Resource (PtrPipe)
CloseCB=>Resource (PtrIdle)
CloseCB=>Resource (PtrCheck)
CloseCB=>Resource (PtrPrepare)
CloseCB=>Resource (PtrSignal)
ResourceCloseCB
CloseCB=>Resource (PtrTimer)
freeCloseCB : HasIOio=>CloseCB->io ()
Totality: total
Visibility: export
uv_is_active : HasIOio=> {auto0_ : PCasttHandle} ->Ptrt->ioInt32
Totality: total
Visibility: export
uv_is_closing : HasIOio=> {auto0_ : PCasttHandle} ->Ptrt->ioInt32
Totality: total
Visibility: export
uv_close : HasIOio=> {auto0_ : PCasttHandle} ->Ptrt->CloseCB->io ()
  Request a handle to be closed.

This *must* be called before releasing the handle from memory,
which can be done from within the callback or after the callback
has returned.

Totality: total
Visibility: export
uv_ref : HasIOio=> {auto0_ : PCasttHandle} ->Ptrt->io ()
  Reference a handle.

This is an idempotent action, so calling it several times has no
additional effect.

Totality: total
Visibility: export
uv_unref : HasIOio=> {auto0_ : PCasttHandle} ->Ptrt->io ()
  Un-reference a handle.

This is an idempotent action, so calling it several times has no
additional effect.

Totality: total
Visibility: export
uv_has_ref : HasIOio=> {auto0_ : PCasttHandle} ->Ptrt->ioBool
  Returns `True` is the handle is currently referenced.

Totality: total
Visibility: export
uv_handle_get_data : HasIOio=> {auto0_ : PCasttHandle} ->Ptrt->ioAnyPtr
  Returns a pointer to the data associated with a handle.

Totality: total
Visibility: export
uv_handle_set_data : HasIOio=> {auto0_ : PCasttHandle} ->Ptrt->AnyPtr->io ()
  Sets the data associated with a handle

Totality: total
Visibility: export
uv_handle_type : HasIOio=> {auto0_ : PCasttHandle} ->Ptrt->ioInt
  Returns the type the current handle.

Totality: total
Visibility: export
freeHandle : HasIOio=> {auto0_ : PCasttHandle} ->Ptrt->io ()
Totality: total
Visibility: export
freeHandleWithoutUnlocking : HasIOio=> {auto0_ : PCasttHandle} ->Ptrt->io ()
Totality: total
Visibility: export
closeCB : HasIOio=> (PtrHandle->IO ()) ->ioCloseCB
  Allocates and locks a callback for closing handles.

The callback will run any custom operations given in the
`handler` argument before freeing the `Ptr Handle` from memory.

Totality: total
Visibility: export
defaultClose : HasIOio=>ioCloseCB
Totality: total
Visibility: export
closeWithoutUnlockingCB : HasIOio=>ioCloseCB
Totality: total
Visibility: export