How can I receive the async data as the resolved value