(prefix: DataPrefix_, suffix: string, field: DataField)
| 469 | } |
| 470 | |
| 471 | isSynced< |
| 472 | DataPrefix_ extends DataPrefix, |
| 473 | DataField extends Extract< |
| 474 | keyof (typeof dataHashes)[DataPrefix_]['fields'], |
| 475 | string |
| 476 | > = Extract<keyof (typeof dataHashes)[DataPrefix_]['fields'], string>, |
| 477 | >(prefix: DataPrefix_, suffix: string, field: DataField) { |
| 478 | const fullKey = getFullKey(prefix, suffix, field); |
| 479 | |
| 480 | this.markAsDependencies([fullKey]); |
| 481 | |
| 482 | return fullKey in this.subscriptions && fullKey in this.values; |
| 483 | } |
| 484 | |
| 485 | markAsDependencies(fullKeys: string[]) { |
| 486 | for (const fullKey of fullKeys) { |
no test coverage detected