03:07 | <jschoi> | I’m starting to write Test262 tests for Array.fromAsync. Is there any way to check that a promise in an async function has been awaited only once? For example, in await Array.fromAsync([ Promise.resolve(0) ]) , the input promise must be awaited only once. How can that be verified?(This is the same behavior as in for await (const v of [ Promise.resolve(0) ]) … , and I can’t find any test in https://github.com/tc39/test262/tree/master/test/language/statements/for-await-of that verifies this for for await either.) |
04:15 | <rbuckton> | Outside of test262 I would patch then to record how many times it is called. Not sure whether test262 has any other mechanisms. |
05:53 | <snek> | was the sf community event recorded anywhere? |