@NfNitLoop on Twitter: Post

@NfNitLoop on Twitter

@NfNitLoop ("Cody C. #BLM") replied to a tweet by @NfNitLoop:

Aha. TIL: JS/TS `await` flattens all Promises. Since an AsyncGenerator's functions return Promises, returning a Promise inside of there breaks the types expected to be returned by other methods defined by AsyncGenerator.