mirror of
https://iceshrimp.dev/limepotato/jormungandr-bite.git
synced 2025-01-15 18:10:59 -07:00
12 lines
300 B
TypeScript
12 lines
300 B
TypeScript
import StreamManager from './stream-manager';
|
|
import Connection from './server-stream';
|
|
|
|
export default class ServerStreamManager extends StreamManager<Connection> {
|
|
public getConnection() {
|
|
if (this.connection == null) {
|
|
this.connection = new Connection();
|
|
}
|
|
|
|
return this.connection;
|
|
}
|
|
}
|