import { to } from "https://deno.land/x/evt@v2.3.1/lib/index.ts";
Operator that helps emulate an EventEmitter with EVT See https://stackblitz.com/edit/evt-honvv3?file=index.ts or https://docs.evt.land/extending_evt
type
<T extends readonly [string, any], K extends T[0]>(eventName: K) => Operator.fλ.Stateless<T, (Extract<T, readonly [K, any]> extends never ? T : Extract<T, readonly [K, any]>)[1]>