Racing multiple promises
Nobody has claimed this yet.
Assessment
- Difficulty
- 5/5
- Estimated time
- Over a week
- Newbie friendliness
- 20/100
- Issue type
- Feature
- Clarity
- Needs clarification
- Activity status
- Stale
- Domain
- backend-api-design
Research direction
The issue names no files, tests, or entry points. Start by locating the existing task-pipelining and invocation-submission code, then review how promise resolution and failure are represented. Done would require an agreed design and implementation for racing multiple tasks and passing the winning result to a follow-up task.
Written by the indexing model from the issue text.
Description
At the moment tasks can be pipelined to run after some set of promises resolve / fail. However there is no way to race multiple tasks and run another task with a winner of the race in the input.
It may be a good idea to have it out of scope in the initial version, but it also may be a good idea how it can be added in the future as it may inform some of the current design.
Perhaps race should be it's own task which could address the use case at hand, but in that case invocation itself needs to support some OR based task submission.
- Dominant language
- No language data
- Stars
- 20
- Forks
- 7
- PR merge metrics
- No merged PRs in 30d
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from ucan-wg/invocation
-
Difficulty 5/5 Over a week Newbie friendliness 35/100
ucan-wg/invocation#45 ·
-
Difficulty 5/5 Over a week Newbie friendliness 25/100
ucan-wg/invocation#34 ·
-
Difficulty 5/5 Over a week Newbie friendliness 25/100
ucan-wg/invocation#33 · 19 comments ·
-
await with selectors Open
Difficulty 5/5 Over a week Newbie friendliness 25/100
ucan-wg/invocation#32 · 1 comment · 1 reaction ·
-
Difficulty 5/5 Over a week Newbie friendliness 25/100
ucan-wg/invocation#31 · 2 comments ·
All issues in ucan-wg/invocation
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
-
code-quality refactoring
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
github/gh-aw-firewall#8816 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
getgrav/grav-plugin-api#45 ·
-
integration:quickjs org:external priority:backlog topic:code-interpreter topic:middleware type:feature
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
langchain-ai/deepagents#6450 ·