hazelcast / hazelcast/hazelcast-nodejs-client

Promisify ReliableTopicProxy#addMessageListener [API-1603]

Open
#685 1 comment 0 reactions 0 assignees View on GitHub
Breaking Change to-jira Type: Cleanup Type: Enhancement
Dominant language
TypeScript
Stars
152
Forks
64
Avg merge
46m
Merged PRs (30d)
3

Description

Currently `ReliableTopicProxy#addMessageListener` does not allow to wait for the underlying `ReliableTopicListenerRunner` to be properly initialized, i.e. it returns a `string` instead of a `Promise`. We should introduce a safer method and deprecate this one.

See https://github.com/hazelcast/hazelcast-nodejs-client/pull/683/files#r526877132 for more context.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.