Skip to content

refreshed documentation#86

Merged
virajmehta merged 1 commit intomainfrom
viraj/refresh-docs
Apr 3, 2026
Merged

refreshed documentation#86
virajmehta merged 1 commit intomainfrom
viraj/refresh-docs

Conversation

@virajmehta
Copy link
Copy Markdown
Member

@virajmehta virajmehta commented Apr 3, 2026

Note

Low Risk
Documentation-only updates; main risk is confusing users if examples diverge from the actual API signatures.

Overview
Updates README and crate-level rustdoc examples to match the current API: Task<State> is implemented with &self methods and run(&self, ..., state); tasks are registered on the DurableBuilder; and start_worker is shown as returning a Result.

Clarifies TaskContext::step semantics (function-pointer f, no captured variables; pass data via params) and documents newer capabilities including application state, heartbeat handles/StepState, task cancellation, transactional emit_event_with, and basic queue management helpers.

Written by Cursor Bugbot for commit 51ff0e5. This will update automatically on new commits. Configure here.

@virajmehta virajmehta marked this pull request as ready for review April 3, 2026 14:05
@virajmehta virajmehta enabled auto-merge April 3, 2026 14:07
@virajmehta virajmehta added this pull request to the merge queue Apr 3, 2026
Copy link
Copy Markdown

@chatgpt-codex-connector chatgpt-codex-connector bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 51ff0e5171

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Merged via the queue into main with commit ac7ed7f Apr 3, 2026
2 checks passed
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