How can I make sure that data from createAsync is loaded, before passing it to another function - SolidJS