typedef nopoll_bool(* noPollActionHandler)(noPollCtx *ctx, noPollConn *conn, noPollPtr user_data)

General async handler definition used to notify generic events associated to a connection.

Currently this handler is used by:

ctxThe context where the wait is happening.
connThe connection where the data or something meaningful was detected.
user_dataOptional user data pointer passed in into the handler.
The function returns a boolean value which is interpreted in an especific form according to the event.