TTMSMCPSseTransport.Stop Method
Closes the listening port, drops connected clients and stops the worker threads.
API unit family: TMS.MCP.Transport.SSE
Declaring type: TTMSMCPSseTransport
Syntax
procedure Stop; override;
Remarks
Safe to call on a channel that is not running. Queued events that have not been written yet are discarded rather than flushed, and the worker threads are joined before the call returns, so it may take up to the length of one worker cycle.