import { EventEmitter } from "https://deno.land/x/tui@2.1.11/src/event_emitter.ts";
Remove event listeners
- If no event type is passed, every single listener will be removed
- If just type is passed with no listener, every listener for specific type will be removed
- If both type and listener is passed, just this specific listener will be removed