In an async function, I can get the asynchronous value as follows:
const foo = await myAsyncFunction()
If I want to call a method for the result, using the synchronization function, I would do something like myAsyncFunction().somethingElse()
Is it possible to associate calls with asynchronous functions, or do you need to assign a new variable for each result?
source share