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

Add Build Meta for Node BTR Functions #203

Merged
merged 2 commits into from Dec 14, 2018

Conversation

@agubler
Copy link
Member

commented Dec 14, 2018

Type: feature

The following has been addressed in the PR:

Description:

A Build meta designed to be used to call node functions during build time render. The meta accepts a function and returns either null or the result of the function. If the function returns a promise then it will invalidate the widget and return the cached resolved value.

The results are cached, first by the function reference and then by the stringify'd arguments... The functions arguments must be serialisable so cannot accept functions or class instances etc.

agubler added 2 commits Dec 13, 2018

@agubler agubler merged commit c0f7f29 into dojo:master Dec 14, 2018

4 checks passed

codecov/patch No report found to compare against
Details
codecov/project No report found to compare against
Details
continuous-integration/travis-ci/pr The Travis CI build passed
Details
licence/cla Contributor License Agreement is signed.
Details
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants
You can’t perform that action at this time.