Skip to content

Change Sender.prototype.frameAndSend() signature#933

Merged
lpinca merged 1 commit intomasterfrom
use/options-object
Dec 16, 2016
Merged

Change Sender.prototype.frameAndSend() signature#933
lpinca merged 1 commit intomasterfrom
use/options-object

Conversation

@lpinca
Copy link
Copy Markdown
Member

@lpinca lpinca commented Dec 12, 2016

This updates the signature of the frameAndSend method to make it accept an options object.
This should make it easier to add more options in future without having to add more arguments and remember their position.

@lpinca
Copy link
Copy Markdown
Member Author

lpinca commented Dec 15, 2016

@websockets/admin LGTY?

@Nibbler999
Copy link
Copy Markdown

You should also update the sender benchmark with the new signature.

@lpinca
Copy link
Copy Markdown
Member Author

lpinca commented Dec 15, 2016

Oh right, thanks for pointing that out, on my way.

@lpinca lpinca force-pushed the use/options-object branch from 3fbdf79 to b9b043a Compare December 15, 2016 10:56
@lpinca lpinca force-pushed the use/options-object branch from b9b043a to 2dd4156 Compare December 15, 2016 11:41
@lpinca
Copy link
Copy Markdown
Member Author

lpinca commented Dec 16, 2016

I'll merge this later today if there are no objections.

@lpinca lpinca merged commit 9c116af into master Dec 16, 2016
@lpinca lpinca deleted the use/options-object branch December 16, 2016 17:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants