# Atomic

    @propertyWrapper
    final class Atomic<Value>

    extension Atomic : Sendable, SendableMetatype

Undocumented

- `init(wrappedValue:)`

  Undocumented

  #### Declaration

  Swift

      init(wrappedValue: Value)

- `wrappedValue`

  Thread-safe getter

  #### Declaration

  Swift

      var wrappedValue: Value { get set }

- `modify(_:)`

  Thread-safe modify

  #### Declaration

  Swift

      func modify<R>(_ block: (inout Value) throws -> R) rethrows -> R

- `exchange(_:)`

  Thread-safe exchange

  #### Declaration

  Swift

      func exchange(_ value: Value) -> Value

© 2026 LicenseSpring. All rights reserved. (Last updated: 2026-02-19)

Generated by jazzy ♪♫ v0.15.3, a Realm project.