How to use async functions inside of synchronous components? - SolidJS