Skip to content

Add a ClosureService#227

Merged
FranzBusch merged 1 commit intoswift-server:mainfrom
gjcairo:runner
Feb 20, 2026
Merged

Add a ClosureService#227
FranzBusch merged 1 commit intoswift-server:mainfrom
gjcairo:runner

Conversation

@gjcairo
Copy link
Collaborator

@gjcairo gjcairo commented Feb 20, 2026

This PR adds a ClosureService.

You can use a ClosureService to create a lightweight, inline Service without defining and conforming a dedicated type.

@gjcairo gjcairo added the 🆕 semver/minor Adds new public API. label Feb 20, 2026
You can use ClosureService to create a lightweight, inline Service without defining and conforming a dedicated type.
Copy link
Collaborator

@czechboy0 czechboy0 left a comment

Choose a reason for hiding this comment

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

Thanks, @gjcairo 🙏

@FranzBusch FranzBusch merged commit 9db4c30 into swift-server:main Feb 20, 2026
37 checks passed
@gjcairo gjcairo deleted the runner branch February 20, 2026 13:50
@gjcairo gjcairo mentioned this pull request Feb 20, 2026
FranzBusch pushed a commit that referenced this pull request Feb 20, 2026
#227 added a
`ClosureService`, but we forgot to add availability guards to make sure
Swift Concurrency is available.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

🆕 semver/minor Adds new public API.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants