agile-ts / agile

🌌 Global State and Logic Library for JavaScript/Typescript applications

Home Page:https://agile-ts.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Async Compute method in Computed Class

bennoinbeta opened this issue Β· comments

commented

πŸ†• Feature Request

❓ Is your feature request related to a problem?

No

πŸ“„ Describe the solution you'd like

Make the Computed Class accept an async compute method.

const MY_COMPUTED = App.createComputed(() => {
  await xyz;
});

πŸ“ƒ Describe alternatives you've considered

no