Skip to content
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

feat: add callback support to updater function #127

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

knksmith57
Copy link

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
Author

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

@jstewmon
Copy link

LGTM

@knksmith57
Copy link
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