Skip to content

EventEmitterModule

@tsed/event-emitter

Usage

typescript
import { EventEmitterModule } from "@tsed/event-emitter";

See /packages/third-parties/event-emitter/src/types/EventEmitterModule.ts.

Overview

ts
class EventEmitterModule {
    protected logger: LOGGER;
    protected injector: InjectorService;
    protected eventEmitter: EventEmitterService;
    
    $onInit(): void;
    $onReady(): void;
    printEvents(): void;
    
    
}

protected logger

ts
protected logger: LOGGER;

protected injector

ts
protected injector: InjectorService;

protected eventEmitter

ts
protected eventEmitter: EventEmitterService;

$onInit

ts
$onInit(): void;

$onReady

ts
$onReady(): void;

printEvents

ts
printEvents(): void;

Released under the MIT License.