mirror of
https://git.joinsharkey.org/Sharkey/Sharkey.git
synced 2024-11-23 23:23:09 +02: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