You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
change: Add on_commiton_complete to Responder trait
Add `ProgressResponder` and use it as default `Responder` that receives
`on_commit` and `on_complete` events.
- `on_commit` is called when a log entry is committed;
- `on_complete` is called when the log entry is applied to state machine
or an error occur.
Replace OneshotResponder with ProgressResponder throughout the codebase to
provide both commit and completion(apply or error) notifications by default.
- Fix: #1460
Upgrade tip:
When not using application defined `Responder`, nothing todo.
Otherwise, update the implementation of `Responder` by adding
`on_commit` if needed, and replacing `send` with `on_complete`.
0 commit comments