Type alias Event<T>

Event<T>: {
    key: string;
    type: typeof eventSymbol;
    value: Handler<T>;
}

An event handler of a Fact.

Type Parameters

  • T

Type declaration

  • key: string

    The name of the event.

  • type: typeof eventSymbol
  • value: Handler<T>

    The handler for the event.

Generated using TypeDoc