File tree 1 file changed +0
-11
lines changed
1 file changed +0
-11
lines changed Original file line number Diff line number Diff line change @@ -380,10 +380,6 @@ export class WsStore<
380
380
* @returns
381
381
*/
382
382
getMatchingTopic ( key : WsKey , topic : TWSTopicSubscribeEventArgs ) {
383
- // if (typeof topic === 'string') {
384
- // return this.getMatchingTopic(key, { channel: topic });
385
- // }
386
-
387
383
const allTopics = this . getTopics ( key ) . values ( ) ;
388
384
for ( const storedTopic of allTopics ) {
389
385
if ( isDeepObjectMatch ( topic , storedTopic ) ) {
@@ -393,13 +389,6 @@ export class WsStore<
393
389
}
394
390
395
391
addTopic ( key : WsKey , topic : TWSTopicSubscribeEventArgs ) {
396
- // if (typeof topic === 'string') {
397
- // return this.addTopic(key, {
398
- // instType: 'sp',
399
- // channel: topic,
400
- // instId: 'default',
401
- // };
402
- // }
403
392
// Check for duplicate topic. If already tracked, don't store this one
404
393
const existingTopic = this . getMatchingTopic ( key , topic ) ;
405
394
if ( existingTopic ) {
You can’t perform that action at this time.
0 commit comments