UNPKG

@glandjs/events

Version:

A fast, zero‑dependency event broker and message bus for building scalable, event‑driven applications.

12 lines (11 loc) 288 B
import type { BrokerId } from '../../types/common.types'; export interface EventOptions { timeout?: number; watch?: boolean; defaultValue?: any; } export interface EmitOptions extends EventOptions { _eventId?: string; _sourceId?: BrokerId; _propagate?: boolean; }