integreat-transporter-mqtt
Version:
MQTT transporter for Integreat
4 lines (3 loc) • 318 B
TypeScript
import type { Dispatch, Action, Response, Authentication } from 'integreat';
import type { Connection } from './types.js';
export default function listen(dispatch: Dispatch, connection: Connection | null, authenticate: (authentication: Authentication, action?: Action | null) => Promise<Response>): Promise<Response>;