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 2 commits into from Dec 14, 2018


Copy link

@agubler agubler commented Dec 14, 2018

Type: feature

The following has been addressed in the PR:


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 agubler merged commit c0f7f29 into dojo:master Dec 14, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
None yet

Successfully merging this pull request may close these issues.

None yet

2 participants