How to use isolated and nonisolated in Swift 6 concurrency

Issue #1039 &#xA; Actor isolation in Swift 6 is not binary. A type can be mostly isolated while selectively exposing some members to callers from any context. A function can accept any actor and run directly on its executor without being bound to it permanently. Two keywords control this: nonisolated opts a member out of its enclosing isolation, and isolated makes a function parameter a live entry…