This is a client-only implementation of atlas framework with minor changes.
All the credits goes to the respected developers.
@Component()
export class Foo {
constructor(
private readonly eventService: EventService
) {}
public heyToServer(): void {
this.eventService.emitServer('hey')
}
}For more examples: here