x/evt/test/test36.ts
123456789101112131415161718192021import { Evt } from "../lib/index.ts";const evt= Evt.create();evt.waitFor(0);evt.post();evt.post();evt.waitFor(0) .then( ()=> console.assert(false), ()=> {} ) ;setTimeout(()=> console.log("PASS"), 100);