Skip to content

Conversation

@agubler
Copy link
Member

@agubler agubler 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 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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants