From b2549d98f959ca00d6233088f06410a4040d46ec Mon Sep 17 00:00:00 2001 From: syuilo Date: Mon, 31 May 2021 11:28:20 +0900 Subject: [PATCH] Update streaming.ts --- src/streaming.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/streaming.ts b/src/streaming.ts index 644fa6b392..7a809f19af 100644 --- a/src/streaming.ts +++ b/src/streaming.ts @@ -133,11 +133,11 @@ export default class Stream extends EventEmitter { } @autobind - public useChannel(channel: C, params?: any): Connection { + public useChannel(channel: C, params?: any, name?: string): Connection { if (params) { return this.connectToChannel(channel, params); } else { - return this.useSharedConnection(channel); + return this.useSharedConnection(channel, name); } }