@seriousme/opifex
Version:
MQTT client & server for Deno & NodeJS
12 lines • 533 B
TypeScript
import type { Context } from "../context.ts";
import type { PubackPacket } from "../deps.ts";
/**
* Handles PUBACK packet processing for QoS level 1 PUBLISH responses
* @param ctx - The MQTT client context
* @param packet - The PUBACK packet received from the broker
* @description
* - Removes the packet ID from the list of pending outgoing messages
* - Completes the corresponding publish operation
*/
export declare function handlePuback(ctx: Context, packet: PubackPacket): void;
//# sourceMappingURL=handlePuback.d.ts.map