Contents

stateUpdateHandler

A handler that receives connection state updates.

Declaration

@preconcurrency final var stateUpdateHandler: (@Sendable (NWConnection.State) -> Void)? { get set }

See Also

Handling State Updates