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

Operator: Start #81

Closed
benjchristensen opened this issue Jan 18, 2013 · 2 comments
Closed

Operator: Start #81

benjchristensen opened this issue Jan 18, 2013 · 2 comments

Comments

@samuelgruetter
Copy link
Contributor

It would be nice to have the start operator not only for Action0, but also for Func0. With this, we could use the Java Observable to simulate Futures:

Observable<Integer> future = Observable.start(new Func0<Integer>() {
    public Integer call() {
        return someExpensiveCalculation();
    }
}, Schedulers.threadPoolForComputation());

@benjchristensen
Copy link
Member Author

Implemented and then moved to async-util contrib module: https://github.com/Netflix/RxJava/blob/master/rxjava-contrib/rxjava-async-util/

jihoonson pushed a commit to jihoonson/RxJava that referenced this issue Mar 6, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants