00:01
<shu>
i think there's no other way, because async generators return a generator object that vends promises, they don't return a promise directly
00:01
<shu>
so, parameter expressions like defaults can cause synchronous errors before the async generator gets a chance to create the generator object to return
00:02
<shu>
whereas async functions always return a promise, so they can create the promise first thing, then evaluate parameter expressions
01:03
<ljharb>
ah, so then yeah that makes sense, it's just weird, i guess