Version: v1
Interface: pubSubClient
Interfaces.pubSubClient
#
Methods#
getAllSubscriptionsâ–¸ getAllSubscriptions(): Promise
<AllSubscriptions
[]>
#
ReturnsPromise
<AllSubscriptions
[]>
#
Defined insrc/interface/pubSubClient.ts:16
#
publishâ–¸ publish<T
, P
>(topic
, message
): Promise
<string
>
#
Type parametersName | Type |
---|---|
T | extends Topic <T > |
P | extends Payload |
#
ParametersName | Type |
---|---|
topic | T |
message | P |
#
ReturnsPromise
<string
>
#
Defined insrc/interface/pubSubClient.ts:11
#
subscribeâ–¸ subscribe(subscriber
): void
#
ParametersName | Type |
---|---|
subscriber | typeof Subscriber |
#
Returnsvoid