Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build a composable that always succeeds #153

Closed
wants to merge 1 commit into from
Closed

Conversation

diogob
Copy link
Collaborator

@diogob diogob commented Jun 21, 2024

I have written this function more than a couple of times and a see some use cases in the wild but always brush it off thinking "why bother, it is so simple to reimplement".

The same argument can be used to bring it in though. It's very low complexity and it helps to keep the typing consistent.

@diogob diogob marked this pull request as ready for review June 21, 2024 20:26
)

// the pipe introduces the possibility of failure
// our typing is not yet smart enough to detect that all Results are success
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

TODO

@diogob diogob closed this Jun 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants