> For the complete documentation index, see [llms.txt](https://workerjs-documentation.gitbook.io/workerjs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://workerjs-documentation.gitbook.io/workerjs/external-protocol/protocol.md).

# Client

## 1) Initialization

* Client connects to Redis

## 2) Task creation

* You create task
* Client subscribes to channel for that that task
* Client notifies monitor (if monitor is available)
* Client pushes task to the top of queue
* Client gets notified after task gets assigned (in channel)
* **Client gets notified on retry (also in channel)**

## 3) Task finish/failure

* Client unsubscribes from messaging channel
* Client ACKs finish to monitor
