mirror of
https://iceshrimp.dev/iceshrimp/iceshrimp
synced 2025-01-04 20:52:54 +09:00
13 lines
304 B
TypeScript
13 lines
304 B
TypeScript
import StreamManager from './stream-manager';
|
|
import Connection from './requests-stream';
|
|
|
|
export default class RequestsStreamManager extends StreamManager<Connection> {
|
|
public getConnection() {
|
|
if (this.connection == null) {
|
|
this.connection = new Connection();
|
|
}
|
|
|
|
return this.connection;
|
|
}
|
|
}
|