fx-event-emitter

Community

Coordinate app modules with a global event bus.

Authortoly1994328
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Global event bus enables cross-module communication without tight coupling and without passing callbacks through layers, simplifying coordination between UI, navigation, and business logic.

Core Features & Use Cases

  • FxEmitter singleton for publishing events across modules without direct dependencies.
  • Strongly-typed FxEvent classes to carry payload data between components.
  • App-shell level listeners with proper lifecycle management to prevent leaks.
  • Optional FxEmitterMixin to streamline subscription setup in widgets.
  • AsyncFxEvent support for request/response style workflows across the app.

Quick Start

Emit a cross-module event from any module and listen for the corresponding handler in the app shell to trigger UI updates.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: fx-event-emitter
Download link: https://github.com/toly1994328/flash_im_by_ai/archive/main.zip#fx-event-emitter

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 510,000+ vetted skills library on demand.