-
Notifications
You must be signed in to change notification settings - Fork 10.1k
Feature - added support for Server#close(callback) #2748
New issue
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
Conversation
@@ -355,7 +355,7 @@ Server.prototype.of = function(name, fn){ | |||
* @api public | |||
*/ | |||
|
|||
Server.prototype.close = function(){ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@@ -355,7 +355,7 @@ Server.prototype.of = function(name, fn){ | |||
* @api public | |||
*/ | |||
|
|||
Server.prototype.close = function(){ | |||
Server.prototype.close = function(fn){ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could you update the JSDoc with the optional argument please?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I saw you updated the docs (thanks!), could you also update the jsdoc (above @api public
, line 354-355) please?
@mhmeadows63 thanks! |
The kind of change this PR does introduce
Current behaviour
Previously unable to pass a
done
callback to theServer#close()
method.New behaviour
Now able to pass a
done
callback to theServer#close()
method.Other information (e.g. related issues)
candidate for #2739