1
0
mirror of https://github.com/misskey-dev/misskey.git synced 2026-05-03 23:06:20 +02:00
This commit is contained in:
syuilo
2017-11-17 01:30:47 +09:00
parent bb0f9d5de9
commit 96d2aadd70

View File

@@ -40,6 +40,9 @@ export default abstract class StreamManager<T extends Connection> extends EventE
*/
public abstract getConnection(): T;
/**
* 現在接続しているコネクションを取得します
*/
public borrow() {
return this._connection;
}