The value in milliseconds for the linger option
(linger: StringAdd).self
(linger: StringFormat).self
(linger: ArrowAssoc[Linger]).x
(Since version 2.10.0) Use leftOfArrow
instead
(linger: Ensuring[Linger]).x
(Since version 2.10.0) Use resultOfEnsuring
instead
Configure this socket to have a linger of the specified value
The linger period determines how long pending messages which have yet to be sent to a peer shall linger in memory after a socket is closed, and further affects the termination of the socket's context.
The following outlines the different behaviours:
The value in milliseconds for the linger option