@seriousme/opifex
Version:
MQTT client & server for Deno & NodeJS
10 lines • 589 B
TypeScript
import type { Context } from "../context.ts";
import { type UnsubscribePacket } from "../deps.ts";
/**
* Handles MQTT unsubscribe packets by removing subscriptions and sending acknowledgement
* @param ctx - The connection context containing client information and methods
* @param packet - The MQTT unsubscribe packet containing topics to unsubscribe from
* @returns Promise that resolves when unsubscribe is complete and acknowledged
*/
export declare function handleUnsubscribe(ctx: Context, packet: UnsubscribePacket): Promise<void>;
//# sourceMappingURL=handleUnsubscribe.d.ts.map