(items: [DataPrefix, string, string][])
| 56 | } |
| 57 | |
| 58 | mhgetCoalesce(items: [DataPrefix, string, string][]) { |
| 59 | for (const item of items) { |
| 60 | const value = this.hget(item[0] as any, item[1], item[2]); |
| 61 | |
| 62 | if (!internals.realtime.isSynced(item[0] as any, item[1], item[2])) { |
| 63 | return; |
| 64 | } |
| 65 | |
| 66 | if (value != null) { |
| 67 | return value; |
| 68 | } |
| 69 | } |
| 70 | } |
| 71 | mhget(items: [DataPrefix, string, string][]) { |
| 72 | return items.map(([prefix, suffix, field]) => |
| 73 | this.hget(prefix as any, suffix, field), |