UNPKG

@reclaimprotocol/attestor-core

Version:

<div> <div> <img src="https://raw.githubusercontent.com/reclaimprotocol/.github/main/assets/banners/Attestor-Core.png" /> </div> </div>

8 lines (7 loc) 187 B
type EventHandlerFn<T> = (data: T) => void; export declare class EventBus<T> { #private; addListener(fn: EventHandlerFn<T>): () => void; dispatch(data: T): void; } export {};