grpc-go/internal/grpcsync
Turfa Auliarachman 18ee309ab1
grpcsync: use context.AfterFunc to close buffer after context canceled in CallbackSerializer (#8489)
[The current minimum supported Go version is now
1.23](62ec29fd9b/go.mod (L3)).
`context.AfterFunc` is available for all of grpc-go's latest version
users. Thus we can do this pending TODO.

`context.AfterFunc` would invoke the given function for both _immediate_
context cancelation and timer-based context cancelation (`WithTimeout`,
`WithDeadline`). So I think this change is safe.

RELEASE NOTES: N/A
2025-08-12 15:27:23 -07:00
..
callback_serializer.go grpcsync: use context.AfterFunc to close buffer after context canceled in CallbackSerializer (#8489) 2025-08-12 15:27:23 -07:00
callback_serializer_test.go *: fix minor typos (#7487) 2024-08-14 22:43:01 +05:30
event.go grpcsync/event: Simplify synchronization (#8308) 2025-05-13 00:01:48 +05:30
event_test.go
pubsub.go internal/grpcsync: support two ways to schedule a callback with the serializer (#7408) 2024-07-12 14:47:41 -07:00
pubsub_test.go *: update `interface{}` to `any` and `go.mod` version to `go 1.19` (#6544) 2023-08-14 09:04:46 -07:00