The options to construct new clients with. If undefined, will use the default options from Redis.Options
A RedisBackend with an empty connection pool.
Uses DELETE. If a result is in flight (not yet published and set), must be called again after the result has been set for it to be removed from Redis.
The UUID of the task whose result is to be deleted from Redis.
A Promise that resolves to the DELETE response.
Gently terminates the connection with Redis using QUIT. Same as #end.
A Promise that resolves to the QUIT response from Redis.
Gently terminates the connection with Redis using QUIT.
A Promise that resolves to the QUIT response from Redis.
Uses two connections to SUBSCRIBE to the correct key ID, then try GET. If GET returns a successful result, immediately UNSUBSCRIBE, parse the message, and fulfill the Promise. Otherwise, wait until a successful result is received on the subscribed connection and resolve to the parsed result.
A Promise that resolves to the result received from Redis.
Sets and publishes a value with the same key as the message's task ID. Implemented with a MULTI SETEX PUBLISH EXEC pipeline.
The result to push onto the backend.
A Promise that resolves to the response of the Redis server after the message has been set and published.
A lossy representation of Redis connection options.
Generated using TypeDoc
Redis in-memory database result backend. Uses connection pooling with one connection per active subscriber.