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

Single.defer? #3441

Closed
serandel opened this issue Oct 13, 2015 · 2 comments
Closed

Single.defer? #3441

serandel opened this issue Oct 13, 2015 · 2 comments

Comments

@serandel
Copy link

Hi, this is a feature request por Single.defer(), analog to Observable.defer().

The idiom I've settled for now is

Observable.defer(() -> Observable.just(produceValue())).toSingle()

But I find it very cumbersome and considerably more difficult to read that

Single.defer(() -> Single.just(produceValue()))

Of course, I can be missing something, as I'm just adopting rx.Single in my codebase. :)

Thanks!

@akarnokd
Copy link
Member

Hello. There is already a PR for this: #3433.

@serandel
Copy link
Author

Sorry, I didn't see it.

El mar., 13 de octubre de 2015 17:56, David Karnok [email protected]
escribió:

Hello. There is already a PR for this: #3433
#3433.


Reply to this email directly or view it on GitHub
#3441 (comment).

Sergio Delgado -- Serandel
mailto:[email protected]

Quoth the raven, 'Nevermore.'

'Ever tried. Ever failed. No matter. Try again. Fail again. Fail better.'
-- Samuel Beckett

@akarnokd akarnokd closed this as completed Feb 9, 2016
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