@seriousme/opifex
Version:
MQTT client & server for Deno & NodeJS
10 lines • 461 B
TypeScript
import type { Context } from "../context.ts";
import { type PublishPacket } from "../deps.ts";
/**
* Handles incoming MQTT publish packets based on their QoS level
* @param ctx - The MQTT connection context
* @param packet - The incoming publish packet to handle
* @returns Promise that resolves when packet is handled
*/
export declare function handlePublish(ctx: Context, packet: PublishPacket): Promise<void>;
//# sourceMappingURL=handlePublish.d.ts.map