async function foo(promise) { await promise; }