withLockedValue(_:)

    Access the Value, allowing mutation of it.

    NIOLockedValueBox.swift:37
    func withLockedValue<T>(_ mutate: (inout Value) throws -> T) rethrows -> T

    Other members in extension

    Types

    • struct Unsafe

      Provides an unsafe view over the lock and its value.

    Type members

    Instance members