Skip to content

feat(1): Add ThenDo / ThenDoAsync success-side-effect helpers#4

Merged
mark-pro merged 1 commit into
mainfrom
codex/issue-1-thendo
Mar 8, 2026
Merged

feat(1): Add ThenDo / ThenDoAsync success-side-effect helpers#4
mark-pro merged 1 commit into
mainfrom
codex/issue-1-thendo

Conversation

@mark-pro
Copy link
Copy Markdown
Member

@mark-pro mark-pro commented Mar 8, 2026

Summary

  • add direct and lifted ThenDo / ThenDoAsync overloads that preserve the original FailOr<T> success
  • document the new side-effect helpers in XML docs, README.md, and docs/api-reference.md
  • extend the Then test suite to cover success preservation, short-circuiting, null guards, null returned tasks, parity, and exception propagation

Closes #1.

@mark-pro mark-pro changed the title Add ThenDo / ThenDoAsync success-side-effect helpers feat(1): Add ThenDo / ThenDoAsync success-side-effect helpers Mar 8, 2026
@mark-pro mark-pro merged commit 6b94562 into main Mar 8, 2026
1 check passed
@mark-pro mark-pro deleted the codex/issue-1-thendo branch March 9, 2026 02:33
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.

Add ThenDo / ThenDoAsync success-side-effect helpers

1 participant