export interface Postable { /** https://docs.evt.land/api/evt/post */ postAsyncOnceHandled(data: T): number | Promise; /** * Returns post count * */ post(data: T): number; /** * Post and wait for all async handler's callbacks have resolved. * * https://docs.evt.land/api/evt/post#evt-postandwait-data-promise-less-than-void-greater-than */ postAndWait(data: T): Promise; }