Swiftstruct_JetEngine_SwiftUI

struct _JetEngine_SwiftUI._IntentDispatchViewModifier

Structure

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

Members 3

  1. fieldvar _worker: _JetEngine_SwiftUI._IntentDispatchViewModifier<A>.WorkerState
  2. typealiastypealias Body = SwiftUI.ModifiedContent<SwiftUI.ModifiedContent<SwiftUI.ModifiedContent<SwiftUI.ModifiedContent<SwiftUI._ViewModifier_Content<_JetEngine_SwiftUI._IntentDispatchViewModifier<A>>, SwiftUI._ValueActionModifier2<_JetEngine_SwiftUI._DispatchID<A._JetEngine_SwiftUI._IntentDispatchWorker.What>>>, SwiftUI._AppearanceActionModifier>, SwiftUI._AppearanceActionModifier>, SwiftUI._EnvironmentKeyWritingModifier<Swift.Optional<@Sendable (_JetEngine_SwiftUI._IntentProgress<A._JetEngine_SwiftUI._IntentDispatchWorker.What>) async -> ()>>>
  3. typealiastypealias _What = A._JetEngine_SwiftUI._IntentDispatchWorker.What
struct _IntentDispatchViewModifier<A> where A: _JetEngine_SwiftUI._IntentDispatchWorker {
    struct WorkerState {
        // synthesized from the backing storage `_worker`; the property's own accessors are stripped
        @SwiftUI.StateObject var worker: A {
            get
        }
        let what: A.What
        let configuration: JetEngine.DispatchConfiguration?
        // synthesized from the backing storage `_result`; the property's own accessors are stripped
        @SwiftUI.Binding var result: _JetEngine_SwiftUI.IntentResult<A.ReturnType> {
            get
            set
        }
        // synthesized from the backing storage `_dispatchIntent`; the property's own accessors are stripped
        @SwiftUI.Environment var dispatchIntent: _JetEngine_SwiftUI.IntentDispatchAction? {
            get
        }
        // synthesized from the backing storage `_dispatchObserver`; the property's own accessors are stripped
        @SwiftUI.Environment var dispatchObserver: (@Sendable (_: _JetEngine_SwiftUI._IntentProgress<A.What>) async -> ())? {
            get
        }
        // synthesized from the backing storage `_respawnsOnFailure`; the property's own accessors are stripped
        @SwiftUI.Environment var respawnsOnFailure: Swift.Bool {
            get
        }
    }
    var _worker: _JetEngine_SwiftUI._IntentDispatchViewModifier<A>.WorkerState
}