Skip to content

Conversation

@andersio
Copy link
Member

@andersio andersio commented May 25, 2017

Every Signal has only one error. Should it be promote(_:) though?

@brow
Copy link
Contributor

brow commented May 25, 2017

Should it be promote(_:) though?

SignalProducer<Never, FooError> is sometimes useful, so maybe it will eventually be desirable for ReactiveSwift to define a promoteValues along with promoteError? I've done that in my project.

@andersio
Copy link
Member Author

@brow Yeah. @ikesyo has also talked about it. Feel free to start a PR if you want. 😸

@mdiep mdiep merged commit 5d5e983 into master May 28, 2017
@mdiep mdiep deleted the promoteerror branch May 28, 2017 17:13
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.

4 participants