pushSwapTerminal method
void
pushSwapTerminal(
- SwapStatus status
The CORE's terminal pattern: emit the terminal status, THEN close the stream (the poll loop emits the final status and ends). The notifier must read this as a clean end, NOT a reconnect.
Implementation
void pushSwapTerminal(SwapStatus status) {
pushSwap(status);
completeSwap();
}