(self: RcMap<K, A, E>)
| 462 | * @since 3.8.0 |
| 463 | */ |
| 464 | export const keys = <K, A, E>(self: RcMap<K, A, E>): Effect.Effect<Iterable<K>> => { |
| 465 | return Effect.suspend(() => |
| 466 | self.state._tag === "Closed" ? Effect.interrupt : Effect.succeed(MutableHashMap.keys(self.state.map)) |
| 467 | ) |
| 468 | } |
| 469 | |
| 470 | /** |
| 471 | * Invalidates and removes a specific key from the RcMap. If the resource is not |