Send rpc.superseded with the newly active hash before activation returns. Add an opt-in SDK hook and drain helper that closes SDK listeners and idle connections without cancelling active handlers or background work. Document the additive notice and preserve existing grace, stop and restart rules. Cover immediate notices, ignored notices, early service restarts, SDK draining and duplicate-hook diagnostics. Card: SAU-352
6 lines
156 B
Plaintext
6 lines
156 B
Plaintext
error: only one on_superseded method is allowed
|
|
--> tests/ui/superseded.rs:7:5
|
|
|
|
|
7 | /// Second superseded hook.
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^
|