1
0
mirror of https://github.com/misskey-dev/misskey.git synced 2026-05-02 20:15:55 +02:00
This commit is contained in:
syuilo
2022-09-24 06:45:44 +09:00
parent 174a8b1b3e
commit 417f52359d
21 changed files with 88 additions and 70 deletions

View File

@@ -72,7 +72,7 @@ export class StreamingApiServerService {
const ev = new EventEmitter();
async function onRedisMessage(_: string, data: string) {
async function onRedisMessage(_: string, data: string): Promise<void> {
const parsed = JSON.parse(data);
ev.emit(parsed.channel, parsed.message);
}