© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
Search
Star
Feedback
Setup for Free
Combining Creation and Usage TTL in `Pool.makeWithTTL` - Effect Community
EC
Effect Community
•
2mo ago
•
3 replies
David
Combining Creation and Usage TTL in `Pool.makeWithTTL`
Is there a way with
Pool.makeWithTTL
Pool.makeWithTTL
to have a ttl from creation AND from usage at the same time
?
I want a pool item to only live for a maximum of 15 minutes
, but also get cleaned up if it hasn
't been used in the last 30 seconds or so
.
Effect Community
Join
Production-grade applications in TypeScript.
6,221
Members
View on Discord
Resources
ModelContextProtocol
ModelContextProtocol
MCP Server
Recent Announcements
Similar Threads
Was this page helpful?
Yes
No
Similar Threads
Understanding `Pool.makeWithTTL({ timeToLiveStrategy: 'usage' })`: Resource Lifecycle Management
EC
Effect Community / 🚀-effect
2y ago
Questions about `Pool.makeWithTTL` and `timeToLive` Functionality
EC
Effect Community / 🚀-effect
3mo ago
Combining Errors in Effect Typescript
EC
Effect Community / 🚀-effect
14mo ago
Combining `Ref.modify` and `addFinalizer` in an atomic action
EC
Effect Community / 🚀-effect
9mo ago