hazelcast / hazelcast/hazelcast-nodejs-client
Promisify ReliableTopicProxy#addMessageListener [API-1603]
Open
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
Assessment
This issue has not been assessed yet.