method AsyncQueue.prototype.emitimport { AsyncQueue } from "https://deno.land/x/yxz@0.17.0/async/queue.ts"; emit<T>(type: string, detail?: T)Type ParametersTParameterstype: stringoptionaldetail: T