Black Trigram (흑괘) - API Documentation - v0.2.10
    Preparing search index...

    Interface EventBusInterface

    interface EventBusInterface {
        publish: (event: SystemEvent) => void;
        subscribe: (
            eventType: string,
            callback: (event: SystemEvent) => void,
        ) => void;
        unsubscribe: (
            eventType: string,
            callback: (event: SystemEvent) => void,
        ) => void;
    }
    Index

    Properties

    publish: (event: SystemEvent) => void
    subscribe: (eventType: string, callback: (event: SystemEvent) => void) => void
    unsubscribe: (eventType: string, callback: (event: SystemEvent) => void) => void