
from Fetcher15
Typed event bus implementations (serial, parallel, broadcast) and cross-tab messengers for browser and Node.js — use to emit, handle, and broadcast typed events
Provides typed event bus implementations and cross-tab messengers for building robust event-driven client applications. The skill documents three bus types (SerialTypedEventBus, ParallelTypedEventBus, BroadcastTypedEventBus) and messenger fallbacks (BroadcastChannelMessenger, StorageMessenger) so agents can recommend and show code examples for ordered, concurrent, and cross-tab event handling.
Use this skill when a developer asks about implementing event buses, ordered vs parallel handler execution, broadcasting events across browser tabs, or fallback strategies when BroadcastChannel is unavailable. It's also useful when discussing TypeScript-first handler typing and error handling patterns for event-driven flows.
Best for agents that can emit code snippets and explain runtime tradeoffs (Copilot/Code assistants, Claude Code, Codex). The examples are TypeScript-focused and target browser/Node environments.
Purely instructional skill for the fetcher-eventbus TypeScript library — covers serial, parallel, and broadcast typed event bus patterns plus cross-tab messengers. No bundled scripts; entirely static with progressive disclosure to references/api.md. Clean, no security concerns whatsoever. Well-structured with clear decision points for which bus type to choose.
Well-crafted skill with good progressive disclosure pattern. The references/api.md is only loaded when needed, keeping the main SKILL.md lean. Related skills properly cross-referenced.