Skip to content

Add Operation<TStart, TRes, TError>#46

Draft
XDracam wants to merge 1 commit intomainfrom
operation-with-error
Draft

Add Operation<TStart, TRes, TError>#46
XDracam wants to merge 1 commit intomainfrom
operation-with-error

Conversation

@XDracam
Copy link
Collaborator

@XDracam XDracam commented May 9, 2025

Closes #45

@XDracam
Copy link
Collaborator Author

XDracam commented May 9, 2025

I am not sure whether we want this.

Because this is just a ton of extra code and complexity. Instead you can just use the other Operation implementations, throw a custom exception whenever you want to short-circuit, and catch it on Run or match it in RunSafe. Is this overhead really worth it?

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.

Operation<TStart, TRes, TError>

1 participant