[PR #562] [CLOSED] Add StateChanged to watch state updates #2798

Closed
opened 2026-03-15 21:03:56 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/hibiken/asynq/pull/562
Author: @mindon
Created: 10/20/2022
Status: Closed

Base: masterHead: master


📝 Commits (1)

  • 05554c3 Add StateChanged to watch state updates

📊 Changes

5 files changed (+145 additions, -12 deletions)

View changed files

📝 asynq.go (+14 -4)
📝 client.go (+8 -3)
📝 internal/base/base.go (+3 -0)
📝 internal/rdb/rdb.go (+115 -5)
📝 server.go (+5 -0)

📄 Description

implement StateChanged(func(map[string]interface{}), more ...string) for both client and server, to watch state updates with more customized detail, e.g. "completed:result" as default,
e.g. pending:next|task|result


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/hibiken/asynq/pull/562 **Author:** [@mindon](https://github.com/mindon) **Created:** 10/20/2022 **Status:** ❌ Closed **Base:** `master` ← **Head:** `master` --- ### 📝 Commits (1) - [`05554c3`](https://github.com/hibiken/asynq/commit/05554c36b8aa5c671562007f3b5c1b9e3d8b3269) Add StateChanged to watch state updates ### 📊 Changes **5 files changed** (+145 additions, -12 deletions) <details> <summary>View changed files</summary> 📝 `asynq.go` (+14 -4) 📝 `client.go` (+8 -3) 📝 `internal/base/base.go` (+3 -0) 📝 `internal/rdb/rdb.go` (+115 -5) 📝 `server.go` (+5 -0) </details> ### 📄 Description implement StateChanged(func(map[string]interface{}), more ...string) for both client and server, to watch state updates with more customized detail, e.g. "completed:result" as default, e.g. pending:next|task|result --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-15 21:03:56 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/asynq#2798
No description provided.