MCPcopy Create free account
hub / github.com/FlashpointProject/launcher / IEventQueue

Interface IEventQueue

src/back/util/EventQueue.ts:4–6  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2type EventFunction = (() => void) | (() => Promise<any>) | Promise<any>;
3
4interface IEventQueue {
5 push(event: EventFunction, returnPromise?: boolean): Promise<void> | void;
6}
7
8/** Executes a queue of asynchronous functions, one at a time. */
9export class EventQueue implements IEventQueue {

Callers 8

nexusPackFunction · 0.65
onDatabaseLoadedMethod · 0.65
componentDidUpdateMethod · 0.65
AppClass · 0.65
renderMethod · 0.65
RightBrowseSidebarClass · 0.65

Implementers 1

EventQueuesrc/back/util/EventQueue.ts

Calls

no outgoing calls

Tested by

no test coverage detected