(entry: Entry<A, E>, fiber: Fiber.Fiber<unknown, unknown>)
| 374 | } |
| 375 | |
| 376 | const hasExpired = <A, E>(entry: Entry<A, E>, fiber: Fiber.Fiber<unknown, unknown>): boolean => { |
| 377 | if (entry.expiresAt === undefined) { |
| 378 | return false |
| 379 | } |
| 380 | return fiber.getRef(effect.ClockRef).currentTimeMillisUnsafe() >= entry.expiresAt |
| 381 | } |
| 382 | |
| 383 | // Expiry and capacity eviction report cleanup failures without failing unrelated readers. |
| 384 | const closeEvicted = <A, E>(entry: Entry<A, E>): Effect.Effect<void> => |
no test coverage detected