mirror of
https://github.com/hibiken/asynq.git
synced 2026-04-26 07:25:56 +03:00
[PR #562] [CLOSED] Add StateChanged to watch state updates #1789
Labels
No labels
CLI
bug
designing
documentation
duplicate
enhancement
good first issue
good first issue
help wanted
idea
invalid
investigate
needs-more-info
performance
pr-welcome
pull-request
question
wontfix
work in progress
work in progress
work-around-available
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/asynq#1789
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/hibiken/asynq/pull/562
Author: @mindon
Created: 10/20/2022
Status: ❌ Closed
Base:
master← Head:master📝 Commits (1)
05554c3Add 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.