Skip to content

Commit 339b306

Browse files
committed
refactor: add js doc to unsubscribe method
1 parent b378091 commit 339b306

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/WorkflowManagerConfig.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -114,6 +114,11 @@ class WorkflowManagerConfig implements WorkflowManagerConfigProps {
114114
client?.on('message', this._onMessageArrived(topic));
115115
}
116116

117+
/**
118+
* @description Unsubscribe to a topic or topics.
119+
* @param {(string | string[])} topic
120+
* @param {IClientUnsubscribeOptions} options
121+
*/
117122
public unsubscribe(
118123
topic: string | string[],
119124
options: IClientUnsubscribeOptions = {} as IClientUnsubscribeOptions,

0 commit comments

Comments
 (0)