Swiftstruct_JetEngine_SwiftUI
struct _JetEngine_SwiftUI.Observe
Structure
What a query’s scopes step through. Every node here can be matched — see the syntax.
inherits{}
- protocolSwiftUI.View
Members 6
- field
var _coordinator: SwiftUI.StateObject<_JetEngine_SwiftUI.Observe<A, B>.Coordinator> - field
let content: (A.EventEmitter.Event?) -> B - init
init(_: A, content: (A.Event?) -> B) -> _JetEngine_SwiftUI.Observe<A, B> - init
init(_: A, content: () -> B) -> _JetEngine_SwiftUI.Observe<A, B> - typealias
typealias Body = B - var
var body: some SwiftUI.View { get }
Header
struct Observe<A, B> where A: JetEngine.EventEmitter, B: SwiftUI.View { class Coordinator { // synthesized from the backing storage `_mostRecentEvent`; the property's own accessors are stripped @Combine.Published var mostRecentEvent: A.Event? { get set } let consistencyLock: os.OSAllocatedUnfairLock<()> } // synthesized from the backing storage `_coordinator`; the property's own accessors are stripped @SwiftUI.StateObject var coordinator: _JetEngine_SwiftUI.Observe<A, B>.Coordinator { get } let content: (_: A.Event?) -> B init(_: A, content: @escaping (_: A.Event?) -> B) init(_: A, content: @escaping () -> B) var body: some SwiftUI.View { get } }