mlx-bun library API
    Preparing search index...

    The host's bus, and the scoped views it binds to each module.

    interface EventHub {
        close(): void;
        publish(event: AppEvent): void;
        scoped(scope: { moduleId: string }): EventBus;
        stats(): EventHubStats;
        subscribe(
            types: readonly `${string}.${string}`[] | "*",
            handler: (event: AppEvent) => void,
        ): Unsubscribe;
    }

    Hierarchy (View Summary)

    Index