Module

x/evt/lib/Evt.asNonPostable.ts

šŸ’§EventEmitter's typesafe replacement
Go to Latest
File

import type { ToNonPostableEvt, NonPostableEvtLike } from "./types/index.ts";
/** https://docs.evt.land/api/evt/asnonpostable */export function asNonPostable<E extends NonPostableEvtLike<any>>(evt: E): ToNonPostableEvt<E>{ return evt as any;}