Esqlate Cache is a really basic in-memory cache which has a few interesting properties:
You initialize the cache with the function to retrieve the value from the original source, enabling you to write cache(params) everywhere, whether the item is cached or not. The reason for …
A simple TypeScript function will wait for a condition to be satisfied.
Why
The Esqlate project, which is a way to design an API using PostgreSQL is modelled as a queue based system, so when you issue a request, you don't get back the result immediately, you need to poll …
Sometimes you want to process something, but you're not interested in the result immediately because the task is not a priority to you, or maybe even the user.