Home > @imqueue/rpc > RedisQueue > available
RedisQueue.available property
Returns false only when this queue is known to be unable to accept writes right now — i.e., it has a writer connection currently in a non-ready (reconnecting/closed) state. A queue that has not yet connected is considered available, since a sending lazily connects it. Used for health-aware routing in the clustered queue.
Signature:
get available(): boolean;