UNPKG

jsstore

Version:

Harness the power of JsStore to streamline database operations in your web applications. With its SQL-like API, JsStore simplifies IndexedDB interactions, enabling developers to easily query, filter, and manipulate data with familiar syntax and efficiency

10 lines (9 loc) 266 B
export declare class EventBus { constructor(ctx?: any); private _ctx; private _events; on(event: string, cb: Function): this; off(event: string, cb: Function): void; emit(event: string, ...args: any[]): Promise<any[]>; destroy(): void; }