-
-
Save fadulalla/d217c94b5d9cf995489b987f734fbde9 to your computer and use it in GitHub Desktop.
The output of pubsub.asyncIterator(topic) by node 12.16.1 and 14.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//Server, 14: | |
PubSubAsyncIterator { | |
pubsub: RedisPubSub { | |
triggerTransform: [Function], | |
reviver: undefined, | |
redisPublisher: Redis { | |
options: [Object], | |
domain: null, | |
_events: {}, | |
_eventsCount: 0, | |
_maxListeners: undefined, | |
scriptsSet: {}, | |
commandQueue: [Object], | |
offlineQueue: [Object], | |
connectionEpoch: 1, | |
connector: [Object], | |
retryAttempts: 0, | |
status: 'ready', | |
condition: [Object], | |
stream: [Object], | |
serverInfo: [Object] | |
}, | |
redisSubscriber: Redis { | |
options: [Object], | |
domain: null, | |
_events: [Object], | |
_eventsCount: 2, | |
_maxListeners: undefined, | |
scriptsSet: {}, | |
commandQueue: [Object], | |
offlineQueue: [Object], | |
connectionEpoch: 1, | |
connector: [Object], | |
retryAttempts: 0, | |
status: 'ready', | |
condition: [Object], | |
stream: [Object], | |
serverInfo: [Object] | |
}, | |
subscriptionMap: { | |
'0': [Array] | |
}, | |
subsRefsMap: {}, | |
currentSubscriptionId: 1 | |
}, | |
options: undefined, | |
pullQueue: [], | |
pushQueue: [], | |
listening: true, | |
eventsArray: ['TEST'], | |
allSubscribed: Promise { | |
< pending > | |
} | |
} | |
//Local, 12.16.1 | |
PubSubAsyncIterator { | |
pubsub: RedisPubSub { | |
triggerTransform: [Function], | |
reviver: undefined, | |
redisPublisher: Redis { | |
options: [Object], | |
_events: [Object: null prototype] {}, | |
_eventsCount: 0, | |
_maxListeners: undefined, | |
scriptsSet: {}, | |
commandQueue: [Denque], | |
offlineQueue: [Denque], | |
connectionEpoch: 1, | |
connector: [StandaloneConnector], | |
retryAttempts: 0, | |
status: 'ready', | |
condition: [Object], | |
stream: [Socket], | |
serverInfo: [Object], | |
[Symbol(kCapture)]: false | |
}, | |
redisSubscriber: Redis { | |
options: [Object], | |
_events: [Object: null prototype], | |
_eventsCount: 2, | |
_maxListeners: undefined, | |
scriptsSet: {}, | |
commandQueue: [Denque], | |
offlineQueue: [Denque], | |
connectionEpoch: 1, | |
connector: [StandaloneConnector], | |
retryAttempts: 0, | |
status: 'ready', | |
condition: [Object], | |
stream: [Socket], | |
serverInfo: [Object], | |
[Symbol(kCapture)]: false | |
}, | |
subscriptionMap: { | |
'0': [Array] | |
}, | |
subsRefsMap: {}, | |
currentSubscriptionId: 1 | |
}, | |
options: undefined, | |
pullQueue: [], | |
pushQueue: [], | |
listening: true, | |
eventsArray: ['TEST'], | |
allSubscribed: Promise { | |
< pending > | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment