Files
Brandon Williams 1eeca17b21 Make Shared.wrappedValue setter unavailable from async and introduce Shared.withLock (#3136)
* Add withValue to Shared, deprecate direct mutation.

* updates

* wip

* wip

* wip

* wip

* Available noasync

* withLock

* clean up

* wip

* wip

* Update SyncUpsListTests.swift

* wip

* wip

* wip

* wip

* wip

---------

Co-authored-by: Stephen Celis <stephen@stephencelis.com>
2024-06-06 15:16:34 -07:00

578 B

ComposableArchitecture/SharedReader

Topics

Creating a shared value

  • init(_:)-3a38z
  • init(_:)-42f43
  • init(projectedValue:)
  • constant(_:)

Creating a persisted value

  • init(wrappedValue:_:fileID:line:)-7q52
  • init(wrappedValue:_:fileID:line:)-6asu2
  • init(_:fileID:line:)-41rb8
  • init(_:fileID:line:)-3lxyf
  • init(_:fileID:line:)-hzp

Getting the value

  • wrappedValue
  • projectedValue
  • subscript(dynamicMember:)-34wfb

SwiftUI integration

  • elements

Combine integration

  • publisher