Skip to main content
Module

x/evt/lib/types/interfaces/StatefulEvt.ts

💧EventEmitter's typesafe replacement
Go to Latest
File
import type { StatefulReadonlyEvt } from "./StatefulReadonlyEvt.ts";import type { StatefulPostable } from "./StatefulPostable.ts";

export interface StatefulEvt<T> extends StatefulReadonlyEvt<T>, StatefulPostable<T> {
/** https://docs.evt.land/api/statefulevt#state */ state: T;
};