on_ready_to_send Event
Fired when the class is ready to send data.
Syntax
class MQTTReadyToSendEventParams(object): # In class MQTT: @property def on_ready_to_send() -> Callable[[MQTTReadyToSendEventParams], None]: ... @on_ready_to_send.setter def on_ready_to_send(event_hook: Callable[[MQTTReadyToSendEventParams], None]) -> None: ...
Remarks
The on_ready_to_send event indicates that the underlying TCP/IP subsystem is ready to accept data after a call to publish_data or publish_message fails due to a WOULDBLOCK condition. The event is also fired immediately after a connection to the remote host is established.