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

Modernise DSL #69

Merged
merged 3 commits into from
Aug 2, 2024
Merged

Modernise DSL #69

merged 3 commits into from
Aug 2, 2024

Conversation

technoir42
Copy link

No description provided.


fun fixedSize(block: FixedSizeBatchingStrategyConfiguration.() -> Unit) {
fixedSize = FixedSizeBatchingStrategyConfiguration().also(block)
fun fixedSize(action: Action<FixedSizeBatchingStrategyConfiguration>) {
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Action is supported by both Groovy and Kotlin DSL.

@github-actions github-actions bot added the sample label Aug 2, 2024
@technoir42 technoir42 merged commit b1576f3 into develop Aug 2, 2024
2 checks passed
@technoir42 technoir42 deleted the modernise-dsl branch August 2, 2024 18:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant