https://pulumi.com logo
#python
Title
i

incalculable-sundown-82514

05/21/2019, 6:44 PM
If you did want to do this sort of control flow, though, you could move the
if get_restapi
logic inside its own async function and then
await get_restapi
to await the future.