From 10af684804bbc5dc059e0f258a0a32d54f080f35 Mon Sep 17 00:00:00 2001 From: syuilo Date: Sun, 7 Oct 2018 17:06:28 +0900 Subject: [PATCH] Improve readability a little --- src/server/api/stream/index.ts | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/server/api/stream/index.ts b/src/server/api/stream/index.ts index bd99f2755..04136b350 100644 --- a/src/server/api/stream/index.ts +++ b/src/server/api/stream/index.ts @@ -182,6 +182,7 @@ export default class Connection { /** * チャンネルから切断 + * @param id チャンネルコネクションID */ @autobind private disconnectChannel(id: string) { @@ -193,6 +194,10 @@ export default class Connection { } } + /** + * チャンネルへメッセージ送信要求時 + * @param data メッセージ + */ @autobind private onChannelMessageRequested(data: any) { const channel = this.channels.find(c => c.id === data.id);