Skip to content

feat: add callback support to updater function#127

Open
knksmith57 wants to merge 1 commit into3rd-Eden:masterfrom
knksmith57:enhance-updater-interface
Open

feat: add callback support to updater function#127
knksmith57 wants to merge 1 commit into3rd-Eden:masterfrom
knksmith57:enhance-updater-interface

Conversation

@knksmith57
Copy link
Copy Markdown

Remove unused (and obviated) refresh param from updater() function and add optional cb param.

cb is an errback (Error-First Callback) and, when supplied, will be invoked with the result of parse().

This unblocks work on #31.

@knksmith57
Copy link
Copy Markdown
Author

@jstewmon did you want to take a look at this?

@jstewmon
Copy link
Copy Markdown

LGTM

@knksmith57
Copy link
Copy Markdown
Author

@3rd-Eden any chance you could take a look at this? Super small PR with test coverage + jsdoc updates.

thanks!

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