Skip to content

Commit 9cc1bc1

Browse files
authored
Merge pull request #25 from flodan/fix/add-async-connect-to-types
Add 'connectAsync' method to types
2 parents e668423 + 03565b7 commit 9cc1bc1

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

index.d.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,5 +68,6 @@ export declare class AsyncMqttClient extends MqttClient {
6868
}
6969

7070
export declare function connect (brokerUrl?: string | any, opts?: IClientOptions): AsyncMqttClient
71+
export declare function connectAsync (brokerUrl: string | any, opts?: IClientOptions, allowRetries?: boolean): Promise<AsyncMqttClient>
7172

7273
export { AsyncMqttClient as AsyncClient }

0 commit comments

Comments
 (0)