get-convex / get-convex/workpool

Allow raising an exception that immediately retries

Open
#23 0 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
TypeScript
Stars
31
Forks
7
Avg merge
1d 12h
Merged PRs (30d)
10

Description

Instead of re-enqueueing, allow raising a CONTINUE exception so you can do tail-recursion for long-lived actions / paginating mutations, e.g.

really handy for adding an aggregate calculator to a workpool that tail-recurses and calls the onComplete with the result

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.