-
Notifications
You must be signed in to change notification settings - Fork 150
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
Allow work factories with other return types than Observable
#125
Allow work factories with other return types than Observable
#125
Conversation
Hey! Thanks for the PR, I'll try to take a look this afternoon. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks great! Good test coverage. Can you add a note to the changelog under "current master"? Thanks!
Sources/Action/Action.swift
Outdated
@@ -4,6 +4,8 @@ import RxCocoa | |||
|
|||
/// Typealias for compatibility with UIButton's rx.action property. | |||
public typealias CocoaAction = Action<Void, Void> | |||
/// Typealias for actions with work factory returns `Completable` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we add a .
at the end for consistency?
65bf3bf
to
f90e164
Compare
I applied the required updates. As a side note, I see that CI was never triggered! |
Oops! We recently changed CI providers and I hadn't yet configured Circle to build on PRs from forks. It should work going forward. Thanks for pointing that out! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Excellent work, thank you! Let me know if you'd like to see this released as a point release.
@ashfurrow A point release will be super! should I update pod spec? or will you take care of that? |
No worries – I've got it pushed as 3.5.0, let me know if there are any issues 👍 |
This PR closes #123
ObservableConvertibleType
. This allows constructing Actions with work factory returning;PrimitiveSequence
such asSingle
,Completable
, etc.SharedSequence
such asDriver
CompletableAction
.Completable
elements
will emit no next events