mirror of
https://iceshrimp.dev/limepotato/jormungandr-bite.git
synced 2025-01-10 07:30:59 -07:00
Add note
This commit is contained in:
parent
612123ec6d
commit
9e4186be9e
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 borrow() {
|
||||
return this._connection;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue