Skip to content
This repository has been archived by the owner on Dec 5, 2019. It is now read-only.

forwardSignalWhileActive as signal operator #42

Open
Adlai-Holler opened this issue Mar 27, 2015 · 1 comment
Open

forwardSignalWhileActive as signal operator #42

Adlai-Holler opened this issue Mar 27, 2015 · 1 comment

Comments

@Adlai-Holler
Copy link

A category method on signal would increase readability a lot. If you wanna keep the API footprint small I get that, but anyone who uses this a lot will end up implementing it.

-(RACSignal *)rvm_forwardWhileViewModelActive:(RVMViewModel *)viewModel
@jspahrsummers
Copy link
Member

IME -forwardSignalWhileActive: is usually applied to an input, rather than a signal chain, which is probably why we haven't needed a category method.

I also find category methods on RACSignal slightly ugly, aesthetically, but that's not a good reason to avoid them. 😝

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants