mirror of
https://github.com/misskey-dev/misskey.git
synced 2026-05-04 13:05:57 +02: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;
|
|
}
|
|
}
|