()
| 551 | } |
| 552 | |
| 553 | get keys(): Effect.Effect<Array<Key>> { |
| 554 | return core.sync(() => { |
| 555 | const keys: Array<Key> = [] |
| 556 | for (const entry of this.cacheState.map) { |
| 557 | if (entry[1]._tag === "Complete" && entry[1].exit._tag === "Success") { |
| 558 | keys.push(entry[0]) |
| 559 | } |
| 560 | } |
| 561 | return keys |
| 562 | }) |
| 563 | } |
| 564 | |
| 565 | resolveMapValue( |
| 566 | value: MapValue<Key, Value, Error>, |