SwiftstructJetCore

struct JetCore.DispatchConfiguration

Structure

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

inherits{}

Members 6

  1. fieldvar cacheKey: Hashable?
  2. fieldlet cachePolicy: JetCore.IntentCacheUsePolicy
  3. fieldvar dispatchModifierShouldPrefetch: Bool
  4. funcwithCacheKey((Hashable & Sendable)?) -> JetCore.DispatchConfiguration
  5. initinit(cachePolicy: JetCore.IntentCacheUsePolicy, cacheKey: (Hashable & Sendable)?, dispatchModifierShouldPrefetch: Bool) -> JetCore.DispatchConfiguration
  6. initinit(cachePolicy: JetCore.IntentCacheUsePolicy) -> JetCore.DispatchConfiguration
struct DispatchConfiguration {
    var cacheKey: (any Swift.Hashable)?
    var dispatchModifierShouldPrefetch: Swift.Bool
    let cachePolicy: JetCore.IntentCacheUsePolicy

    init(cachePolicy: JetCore.IntentCacheUsePolicy, cacheKey: (any Swift.Hashable & Swift.Sendable)?, dispatchModifierShouldPrefetch: Swift.Bool)
    init(cachePolicy: JetCore.IntentCacheUsePolicy)

    func withCacheKey(_: (any Swift.Hashable & Swift.Sendable)?) -> JetCore.DispatchConfiguration
}