UNPKG

evt

Version:

Type safe replacement for node's EventEmitter

7 lines (6 loc) 234 B
import type { Postable } from "./Postable"; export interface StatefulPostable<T> extends Postable<T> { state: T; /** https://docs.evt.land/api/statefulevt#postfocechange */ postForceChange(wData?: readonly [T]): number; }