We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hi guys, i'm trying to use Mirage's validator but did not called. I follow the documentation's example, like:
/* Requires ...*/ const options = { 'mirage timeout': process.env.PRIMUS_SESSION_ID_TIMEOUT, authorization : authorizationHandler }; /* Class begin */ /* Code inside constructor*/ this.primus = new Primus(this.server, options); this.primus.plugin('mirage', Mirage); this.primus.id.validator(function validator(spark, fn) { console.log('validator'); fn(undefined, 'foo'); });
Generator and timeout works correctly. Any idea?
Regards,
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Hi guys, i'm trying to use Mirage's validator but did not called. I follow the documentation's example, like:
Generator and timeout works correctly. Any idea?
Regards,
The text was updated successfully, but these errors were encountered: