Swiftstruct_JetEngine_SwiftUI

struct _JetEngine_SwiftUI._IntentViewContinuousContent

Structure

What a query’s scopes step through. Every node here can be matched — see the syntax.

inherits{}

Members 7

  1. fieldvar _dispatcher: SwiftUI.StateObject<_JetEngine_SwiftUI._IntentViewContinuousContent<A, B, C, D>.Dispatcher>
  2. fieldlet content: (A.AsyncSequence.Element) -> B
  3. fieldlet failed: (Error, () -> ()) -> D
  4. fieldlet working: () -> C
  5. initinit(_: A, transaction: SwiftUI.Transaction, working: () -> C, failed: (Error, () -> ()) -> D, content: (A.Element) -> B) -> _JetEngine_SwiftUI._IntentViewContinuousContent<A, B, C, D>
  6. typealiastypealias Body = _JetEngine_SwiftUI._ResultView<A.Swift.AsyncSequence.Element, B, C, D>
  7. varvar body: some SwiftUI.View { get }
struct _IntentViewContinuousContent<A, B, C, D> where A: Swift.AsyncSequence, B: SwiftUI.View, C: SwiftUI.View, D: SwiftUI.View {
    class Dispatcher {
        let data: A
        let transaction: SwiftUI.Transaction
        var task: Swift.Task<(), Swift.Never>?
        // synthesized from the backing storage `_result`; the property's own accessors are stripped
        @Combine.Published var result: JetEngine.Result<A.Element>? {
            get
            set
        }
    }
    // synthesized from the backing storage `_dispatcher`; the property's own accessors are stripped
    @SwiftUI.StateObject var dispatcher: _JetEngine_SwiftUI._IntentViewContinuousContent<A, B, C, D>.Dispatcher {
        get
    }
    let working: () -> C
    let failed: (any Swift.Error, @escaping () -> ()) -> D
    let content: (_: A.Element) -> B

    init(_: A, transaction: SwiftUI.Transaction, working: @escaping () -> C, failed: @escaping (any Swift.Error, @escaping () -> ()) -> D, content: @escaping (_: A.Element) -> B)

    var body: some SwiftUI.View {
        get
    }
}