SwiftclassJetEngine

class JetEngine.JetIntentPreloader

Structure

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

inherits{}

Members 8

  1. deinitdeinit
  2. fieldlet dispatcher: JetEngine.IntentDispatcher
  3. fieldlet enableDispatchingPreloadIntents: os.OSAllocatedUnfairLock<Bool>
  4. fieldlet preloadIntentQueue: JetEngine.IntentPreloaderQueue
  5. funcpreload<A where A: JetEngine.CacheableIntent, A: JetEngine.IntentModel>(objectGraph: JetEngine.BaseObjectGraph, configuration: JetEngine.IntentPreloadConfiguration, intentProvider: @Sendable () async throws -> A) async throws -> A.IntentModel.ReturnType
  6. funcpreloadAnyIntent<A where A: JetEngine.IntentModel>(objectGraph: JetEngine.BaseObjectGraph, configuration: JetEngine.IntentPreloadConfiguration, intentProvider: @Sendable () async throws -> A) async throws -> A.ReturnType
  7. funcstartDispatchingPreloadIntents() -> ()
  8. initJetEngine.JetIntentPreloader.__allocating_init(dispatcher: JetEngine.IntentDispatcher) -> JetEngine.JetIntentPreloader
class JetIntentPreloader {
    let enableDispatchingPreloadIntents: os.OSAllocatedUnfairLock<Swift.Bool>
    let preloadIntentQueue: any JetEngine.IntentPreloaderQueue
    let dispatcher: any JetEngine.IntentDispatcher

    init(dispatcher: any JetEngine.IntentDispatcher)

    final func preloadAnyIntent<A>(objectGraph: JetEngine.BaseObjectGraph, configuration: JetEngine.IntentPreloadConfiguration, intentProvider: @escaping @Sendable () async throws -> A) async throws -> A.ReturnType where A: JetEngine.IntentModel
    final func startDispatchingPreloadIntents()
    final func preload<A>(objectGraph: JetEngine.BaseObjectGraph, configuration: JetEngine.IntentPreloadConfiguration, intentProvider: @escaping @Sendable () async throws -> A) async throws -> A.ReturnType where A: JetEngine.CacheableIntent, A: JetEngine.IntentModel

    deinit
}