handsontable / handsontable/hyperformula
Docs: Present how to make a custom function that includes asynchronous lookup
@sequba is already working on this.
Since Feb 4, 2022.
- Dominant language
- TypeScript
- Stars
- 2.8k
- Forks
- 171
- Avg merge
- 1d 22h
- Merged PRs (30d)
- 7
Description
Description
As I wrote in https://github.com/handsontable/hyperformula/issues/9#issuecomment-1029829216:
However, right now, the easiest way at achieve the asynchronicity in the user code outside of HyperFormula. I mean a two-step strategy, in which a function like
SHARE_PRICE("AMZN")synchronously resolves to a value from cache (or gives an error if the cache is empty) while asynchronously fetching the current value. When fetching is done, update the cache and reevaluategetCellValue/getSheetValues.Or, if you need it to run in one pass, simply resolve your async code before feeding the data to Hyperformula.
Links
https://github.com/handsontable/hyperformula/issues/9
https://github.com/handsontable/hyperformula/issues/1119
Type of issue
- Missing documentation
- Error in the documentation
- Request for a demo
- Request for a tutorial, guide etc.
- Other issues, suggestions or ideas
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.