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

Mono.toProcessor to automatically connect #638

Closed
simonbasle opened this issue May 30, 2017 · 1 comment
Closed

Mono.toProcessor to automatically connect #638

simonbasle opened this issue May 30, 2017 · 1 comment
Assignees
Labels
type/enhancement A general enhancement
Milestone

Comments

@simonbasle
Copy link
Member

Since #566, Mono.subscribe() returns a Disposable and the MonoProcessor is available via Mono.toProcessor() instead. However, the old style would allow to create a processor, connect to it and chain further operators in one line:

Mono.cache().subscribe().anotherOperator

What is missing with toProcessor() is the ability to connect the MonoProcessor then chain operators (.toProcessor().subscribe() doesn't allow the later).

We could add a toProcessor(boolean) variant that optionally connects, or a toConnectedProcessor() that automatically connects.

@simonbasle
Copy link
Member Author

after discussing it with @smaldini, no new operator/variant, but toProcessor() will connect()/subscribe().

@simonbasle simonbasle removed the status/need-decision This needs a decision from the team label May 30, 2017
@simonbasle simonbasle changed the title Mono.toProcessor with connect option Mono.toProcessor to automatically connect Jun 1, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type/enhancement A general enhancement
Projects
None yet
Development

No branches or pull requests

1 participant