-
Notifications
You must be signed in to change notification settings - Fork 26
asyncIterator support #5
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Comments
Just a workable fork. you can There is a demo |
@developerworks would you mind creating a PR? |
The fork repo have |
|
logger issue: TypeError: logger.child is not a function var server = require("@cdm-logger/server");
var settings = {
level: "info",
mode: "short" // Optional: default 'short' ('short'|'long'|'dev'|'raw')
};
var cdmlogger = server.ConsoleLogger.create("pubsub", settings);
cdmlogger.level('trace')
export const pubsub = new AmqpPubSub({
config: {
host: config.RABBITMQ_HOST,
port: config.RABBITMQ_PORT,
},
connectionListener: (err) => {
if (err) {
logger.error('connect to rabbitmq error ', err)
} else {
logger.info('connected to rabbitmq')
}
},
logger: cdmlogger
}) create your own cdm logger to fix the error. |
|
Hi,
the new version of graphql-sibscription lib uses the special object with subscribe property, that returns asyncIterator object. Subscription Manager is deprecated. Do you have plans to add asyncIterator support?
The text was updated successfully, but these errors were encountered: