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

Add support for Observable emitting additional "thunkservables"? #8

Closed
benlesh opened this issue May 13, 2016 · 1 comment
Closed

Add support for Observable emitting additional "thunkservables"? #8

benlesh opened this issue May 13, 2016 · 1 comment

Comments

@benlesh
Copy link
Collaborator

@benlesh benlesh commented May 13, 2016

Okay... so I just coined a term "thunkservable"... which is a function that returns an observable.

Anyhow, should we support something like this?

let secondAction = () => Observable.of({ type: 'ACTIONS_DONE' });
let firstAction = () => Observable.interval(1000).mapTo(secondAction);

dispatch(firstAction);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
1 participant