Closed pudelkoM closed 1 year ago
@pudelkoM please mark this as "Ready for review" when you believe it is ready to be merged
@pudelkoM sorry for the delay, I must have missed the notification when you marked this PR as "Ready for review". I am merging it now.
This PR implements support for notifications (idle timeouts, digests) in
SimpleSwitch
when build with PI.The code of
NotificationsCapture
is taken verbatim fromSimpleSwitchGrpc
.Context: Stratum is consuming the
SimpleSwitch[Runner]
downstream without gRPC support, as we're implementing that ourselves on top. We'd still like to use digests and idle timeouts, which can be delivered through the PI layer.