diff options
| author | syuilo <syuilotan@yahoo.co.jp> | 2018-04-17 14:52:28 +0900 |
|---|---|---|
| committer | syuilo <syuilotan@yahoo.co.jp> | 2018-04-17 14:52:28 +0900 |
| commit | a0e640b1189a55c28aafe7d586d531731ad450a4 (patch) | |
| tree | c8d0ed34511646f1b5a1e68ff24d7510b1c64e7b /src/client/app/common/scripts/streaming/requests.ts | |
| parent | キューのメモリ使用量を削減 (diff) | |
| download | sharkey-a0e640b1189a55c28aafe7d586d531731ad450a4.tar.gz sharkey-a0e640b1189a55c28aafe7d586d531731ad450a4.tar.bz2 sharkey-a0e640b1189a55c28aafe7d586d531731ad450a4.zip | |
ローカルタイムラインとグローバルタイムラインを実装
Diffstat (limited to 'src/client/app/common/scripts/streaming/requests.ts')
| -rw-r--r-- | src/client/app/common/scripts/streaming/requests.ts | 30 |
1 files changed, 0 insertions, 30 deletions
diff --git a/src/client/app/common/scripts/streaming/requests.ts b/src/client/app/common/scripts/streaming/requests.ts deleted file mode 100644 index 5bec30143f..0000000000 --- a/src/client/app/common/scripts/streaming/requests.ts +++ /dev/null @@ -1,30 +0,0 @@ -import Stream from './stream'; -import StreamManager from './stream-manager'; -import MiOS from '../../mios'; - -/** - * Requests stream connection - */ -export class RequestsStream extends Stream { - constructor(os: MiOS) { - super(os, 'requests'); - } -} - -export class RequestsStreamManager extends StreamManager<RequestsStream> { - private os: MiOS; - - constructor(os: MiOS) { - super(); - - this.os = os; - } - - public getConnection() { - if (this.connection == null) { - this.connection = new RequestsStream(this.os); - } - - return this.connection; - } -} |