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

[Use Case]: Generic Flow.Publisher return type #641

Open
1 of 4 tasks
hantsy opened this issue Dec 11, 2024 · 0 comments
Open
1 of 4 tasks

[Use Case]: Generic Flow.Publisher return type #641

hantsy opened this issue Dec 11, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@hantsy
Copy link

hantsy commented Dec 11, 2024

As a ...

  • Application user/user of the configuration itself
  • API user (application developer)
  • SPI user (container or runtime developer)
  • Specification implementer

I need to be able to ...

The asynchronous/concurrency case should accept Flow.Publisher<T> or Flow.Publisher<Void> and Kotlin Coroutines suspend as the return type. In the background, it should configure the default executor to run the tasks and also allow to choose which executor service to run.

As Spring, when using JDK Flow or reactiestreams API, no need @Asynchronous

Which enables me to ...

Which can add ReactiveStream support.

Additional information

See Spring WebFlux, also worked in classic Scheduled, EventLisenter:

@hantsy hantsy added the enhancement New feature or request label Dec 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant