Files
decentral1se b51f27aa6c
continuous-integration/drone/push Build is passing
refactor: better error handling
2026-11-09 01:14:38 +01:00
..
2026-11-09 00:42:11 +01:00
2026-11-09 00:42:11 +01:00
2026-11-09 00:42:11 +01:00
2026-11-09 01:14:38 +01:00

withcontext

An example which shows how to reliably close a bidirectional stream using context cancellation.

Terminal 1

./withcontext

Terminal 2

./withcontext -endpoint <endpoint>