Skip to content

feature/choose-value-option#385

Open
njlr wants to merge 2 commits intofsprojects:mainfrom
njlr:feature/choose-value-option
Open

feature/choose-value-option#385
njlr wants to merge 2 commits intofsprojects:mainfrom
njlr:feature/choose-value-option

Conversation

@njlr
Copy link
Copy Markdown
Contributor

@njlr njlr commented Apr 12, 2026

  • Adds ValueOption variants for choose: TaskSeq.chooseV, TaskSeq.chooseVAsync
  • These variants can avoid allocations for better performance in some scenarios
  • The tests are a modified copy of those for choose
  • I was unsure about naming convention; happy to change it with some guidance
  • I will make a follow up PR for TaskSeq.tryPick, TaskSeq.pick etc. if desired

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.

1 participant