mirror of
https://github.com/misskey-dev/misskey.git
synced 2024-12-01 05:52:01 +01:00
Add note
This commit is contained in:
parent
bb0f9d5de9
commit
96d2aadd70
1 changed files with 3 additions and 0 deletions
|
@ -40,6 +40,9 @@ export default abstract class StreamManager<T extends Connection> extends EventE
|
||||||
*/
|
*/
|
||||||
public abstract getConnection(): T;
|
public abstract getConnection(): T;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 現在接続しているコネクションを取得します
|
||||||
|
*/
|
||||||
public borrow() {
|
public borrow() {
|
||||||
return this._connection;
|
return this._connection;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue