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

Core: let on, then and orElse accept ActionBuilders and not only ChainBuilders #4489

Closed
slandelle opened this issue Dec 6, 2023 · 0 comments

Comments

@slandelle
Copy link
Member

slandelle commented Dec 6, 2023

Motivation:

Instead of writing:

repeat(5).on(
  exec(http1),
  exec(http2),
  exec(f)
)

users would be able to directly write:

repeat(5).on(
  http1,
  http2,
  exec(f) // can't do anything about Function as we can't introduce a common super type
)
@slandelle slandelle self-assigned this Dec 6, 2023
@slandelle slandelle added this to the 3.10.0 milestone Dec 6, 2023
slandelle added a commit that referenced this issue Dec 6, 2023
…nBuilders #4489

Motivation:

Motivation:

Instead of writing:

```java
repeat(5).on(
  exec(http1),
  exec(http2),
  exec(f)
)
```

users would be able to directly write:

```java
repeat(5).on(
  http1,
  http2,
  exec(f) // can't do anything about function as we can't introduce a common super type
)
```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

1 participant