Skip to content

Conversation

glbrntt
Copy link
Collaborator

@glbrntt glbrntt commented Nov 18, 2024

Motivation:

In some situations, like examples, testing, and prototyping, it can be useful to have a client and server with scoped lifetimes. This is all achievable using task groups but in a number of situations having helpers is also useful.

Modifications:

  • Add 'with-' methods for client and server
  • Update docs

Result:

Easier to use API for some scenarios.

Motivation:

In some situations, like examples, testing, and prototyping,  it can be
useful to have a client and server with scoped lifetimes. This is all
achievable using task groups but in a number of situations having
helpers is also useful.

Modifications:

- Add 'with-' methods for client and server
- Update docs

Result:

Easier to use API for some scenarios.
@glbrntt glbrntt added the 🆕 semver/minor Adds new public API. label Nov 18, 2024
@glbrntt glbrntt requested a review from FranzBusch November 18, 2024 14:33
@glbrntt glbrntt enabled auto-merge (squash) November 21, 2024 09:11
@glbrntt glbrntt requested a review from FranzBusch November 21, 2024 09:11
@glbrntt glbrntt merged commit 3b0fe70 into grpc:main Nov 21, 2024
43 of 45 checks passed
@glbrntt glbrntt deleted the v2/with-client-server branch November 21, 2024 13:12
@rnro rnro mentioned this pull request Sep 22, 2025
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.

2 participants