wayfair / vsm-ios

An iOS framework for the VSM Architecture
MIT License
9 stars 2 forks source link

(Improvement) Internal Swift Concurrency Refactor #51

Open albertbori opened 3 weeks ago

albertbori commented 3 weeks ago

Problem Statement

Currently, the StateContainer class leverages dispatch queues to ensure that all state updates occur on the main thread and don't produce any blank frames (by attempting to synchronously queueing on the main thread). To comply with Swift 6's expectations and compiler supported multithreading enforcement, we should explore the possibility of converting StateContainer to use the actor system, if possible. If not possible, we should work to ensure that StateContainer complies with Swift 6's rules.

Proposed Solution

TBD

Alternatives Considered

TBD

Additional Context

TBD