Skip to content

feat: Allow run function to return result to onComplete handler - #5

Merged
MohamedBassem merged 1 commit into
mainfrom
claude/run-return-result-oncomplete-011CUxs5oJujcHp3B5cX11r2
Nov 9, 2025
Merged

MohamedBassem merged 1 commit into
mainfrom
claude/run-return-result-oncomplete-011CUxs5oJujcHp3B5cX11r2

Conversation

@MohamedBassem

Copy link
Copy Markdown
Member

The run function can now return a result value that gets passed to the onComplete callback, enabling better job result handling and state management. The Runner class now accepts an optional second type parameter R for the result type (defaults to void for backward compatibility).

The run function can now return a result value that gets passed to the onComplete callback, enabling better job result handling and state management. The Runner class now accepts an optional second type parameter R for the result type (defaults to void for backward compatibility).
@MohamedBassem
MohamedBassem merged commit e3c0d27 into main Nov 9, 2025
3 checks passed
@MohamedBassem
MohamedBassem deleted the claude/run-return-result-oncomplete-011CUxs5oJujcHp3B5cX11r2 branch November 9, 2025 19:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants