Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: support async io.runTask error callback #910

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

minyoung
Copy link

@minyoung minyoung commented Feb 23, 2024

Closes #909

✅ Checklist

  • I have followed every step in the contributing guide
  • The PR title follows the convention.
  • I ran and tested the code works

Testing

Ran with a patched @trigger.dev/sdk (using pnpm.patchedDependencies), verified that there were no type errors and that returning { skipRetrying: true } worked correctly with and without an async error callback (at different task.attempt values)


Changelog

Support async io.runTask error callback

💯

Copy link

changeset-bot bot commented Feb 23, 2024

🦋 Changeset detected

Latest commit: b038719

The changes in this PR will be included in the next version bump.

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

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.

feat: support async io.runTask error callback
1 participant