method default.prototype.onimport { default } from "https://deno.land/x/ash@1.3.6/src/EventEmitter.ts"; on(name: string, callback: Function)Listens for an event. Parametersname: stringThe event to listen for. callback: FunctionA callback that will be called when the event is emitted.