Skip to content

Await always

Ratan Rai Sur requested to merge ratan.r.sur/jsfuzz:await-all into master

I discovered that even though my fuzz target was defined as such: export async function fuzz(buf) {

when worker.ts checked its constructor's type, it returned Function and not AsyncFunction. I'd love guidance on why that is happening but if I don't find a workaround to that, I created this change to await the non-promise function as well.

Edited by Ratan Rai Sur

Merge request reports