connected
connected: boolean = false
listeners
listeners: Map<string, Subscription[]> = ...
main
Optional
mqttClient
mqttClient?: Client
reconnectAttempts
reconnectAttempts: number = 0
Optional
reconnectHandler
reconnectHandler?: () => void
subscribedTopics
subscribedTopics: {
handler: (data: any) => void;
referenceId: string;
topic: string;
}[] = []
subscribeQueue
subscribeQueue: {
handler: (data: any) => void;
referenceId: string;
topic: string;
}[] = []