Turn vars into lets
This commit is contained in:
parent
3958806697
commit
72e94c6ce9
|
|
@ -67,7 +67,8 @@ internal class StateManagedListenerChannel<ChildChannel: StateManagedChannel>: S
|
||||||
/// The TLS options for this listener.
|
/// The TLS options for this listener.
|
||||||
internal let tlsOptions: NWProtocolTLS.Options?
|
internal let tlsOptions: NWProtocolTLS.Options?
|
||||||
|
|
||||||
internal var nwParametersConfigurator: (@Sendable (NWParameters) -> Void)?
|
/// A customization point for this listener's `NWParameters`.
|
||||||
|
internal let nwParametersConfigurator: (@Sendable (NWParameters) -> Void)?
|
||||||
|
|
||||||
/// The `DispatchQueue` that socket events for this connection will be dispatched onto.
|
/// The `DispatchQueue` that socket events for this connection will be dispatched onto.
|
||||||
internal let connectionQueue: DispatchQueue
|
internal let connectionQueue: DispatchQueue
|
||||||
|
|
@ -115,7 +116,8 @@ internal class StateManagedListenerChannel<ChildChannel: StateManagedChannel>: S
|
||||||
/// The TLS options to use for child channels.
|
/// The TLS options to use for child channels.
|
||||||
internal let childTLSOptions: NWProtocolTLS.Options?
|
internal let childTLSOptions: NWProtocolTLS.Options?
|
||||||
|
|
||||||
internal var childNWParametersConfigurator: (@Sendable (NWParameters) -> Void)?
|
/// A customization point for each child's `NWParameters`.
|
||||||
|
internal let childNWParametersConfigurator: (@Sendable (NWParameters) -> Void)?
|
||||||
|
|
||||||
/// The cache of the local and remote socket addresses. Must be accessed using _addressCacheLock.
|
/// The cache of the local and remote socket addresses. Must be accessed using _addressCacheLock.
|
||||||
internal var addressCache = AddressCache(local: nil, remote: nil)
|
internal var addressCache = AddressCache(local: nil, remote: nil)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue