handsontable / handsontable/hyperformula

Docs: Present how to make a custom function that includes asynchronous lookup

Open
#892 1 comment 2 reactions 1 assignee View on GitHub

@sequba is already working on this.

Since Feb 4, 2022.

Docs Impact: Medium
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 reevaluate getCellValue/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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.