Module offline

Module offline 

Expand description

Handling of user commands while the client is between connections.

Functionsยง

drain_queued_commands ๐Ÿ”’
Drains commands queued while offline onto a freshly established connection.
process_command_offline ๐Ÿ”’
Handles a command received while the client is offline (in the reconnect backoff phase), with a bound on how much may be buffered.
record_offline_ack ๐Ÿ”’
Parks the completion future for an offline SUBSCRIBE/UNSUBSCRIBE keyed by its allocated packet id, or fails it if allocation failed. After parking, any earlier request the new one superseded (same filter, now orphaned) is failed.