entropyxyz / manul

Round-based distributed protocols
https://docs.rs/manul
GNU Affero General Public License v3.0
1 stars 1 forks source link

Add a `SessionOutcome::Terminated` variant #19

Open fjarri opened 6 days ago

fjarri commented 6 days ago

When we call Session::terminate() directly, SessionOutcome::NotEnoughMessages is used, which is not always true - we could have terminated for some other reason (e.g. user interrupt). This should be reflected in the outcome.