mirror of
https://github.com/Zagrios/bs-manager.git
synced 2026-07-03 14:08:25 +02:00
11 lines
351 B
TypeScript
11 lines
351 B
TypeScript
import { SupportersService } from "../services/supporters.service";
|
|
import { IpcService } from "../services/ipc.service";
|
|
import { from } from "rxjs";
|
|
|
|
const ipc = IpcService.getInstance();
|
|
|
|
ipc.on("get-supporters", (_, reply) => {
|
|
const supportersService = SupportersService.getInstance();
|
|
reply(from(supportersService.getSupporters()));
|
|
});
|