@palmares/events
Version:
This is the events framework for palmares, it's responsible for handling everything that is Pub/Sub like websockets, pub/sub like redis, and other types of asynchronous background tasks
12 lines • 458 B
TypeScript
import type { Emitter } from './emitter';
import type { EventEmitterOptionsType } from './events/types';
import type { SettingsType } from '@palmares/core';
export type EventsSettingsType<TEmitter extends typeof Emitter = typeof Emitter> = {
EVENTS_EMITTER: Promise<{
default: TEmitter;
}> | TEmitter;
EVENTS_OPTIONS?: EventEmitterOptionsType & {
emitterParams?: any[];
};
} & SettingsType;
//# sourceMappingURL=types.d.ts.map