We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9528bd4 commit f5fc95dCopy full SHA for f5fc95d
1 file changed
callBackPersistence.js
@@ -17,10 +17,6 @@ class CallBackPersistence extends EventEmitter {
17
}
18
19
set broker (broker) {
20
- this.setup(broker)
21
- }
22
-
23
- setup (broker) {
24
if (this.ready) {
25
return
26
@@ -35,6 +31,10 @@ class CallBackPersistence extends EventEmitter {
35
31
})
36
32
37
33
34
+ setup (broker) {
+ return this.asyncPersistence.setup(broker)
+ }
+
38
subscriptionsByTopic (topic, cb) {
39
if (cb) {
40
if (!this.ready) {
0 commit comments