typedef void(* MyQttIdleHandler)(MyQttCtx *ctx, MyQttConn *conn, axlPointer user_data, axlPointer user_data2)

Handler called to notify idle state reached for a particular connection.

The handler is configured a myqtt context level, applying to all connections created under this context. This handler is configured by: