typedef void(* MyQttOnFinishHandler)(MyQttCtx *ctx, axlPointer user_data)

Handler used by myqtt_ctx_set_on_finish which is called when the myqtt reader process detects no more pending connections are available to be watched which is a signal that no more pending work is available.

This handler can be used to detect and finish a process when no more work is available. For example, this handler is used by turbulence to finish processes that where created specifically to manage an incoming connection.

Parameters
ctxThe context where the finish status as described is signaled. The function executes in the context of the myqtt reader.
user_dataUser defined pointer configured at myqtt_ctx_set_on_finish