SwiftstructJetEngine
URLJetPackAssetFetcher
struct JetEngine.URLJetPackAssetFetcher
Structure
What a query’s scopes step through. Every node here can be matched — see the syntax.
inherits{}
- protocolJetEngine.JetPackAssetFetcher
Members 9
- field
let bagPromise: JetEngine.Promise<JetEngine.Bag> - field
let downloadsBaseURL: Foundation.URL? - field
let urlSessionConfiguration: NSURLSessionConfiguration+0x0 - field
let urlSessionFactoryProvider: (@Sendable (NSURLSessionConfiguration) -> NSURLSession)?+0x8 - func
_fetch(_: JetEngine.URLJetPackAssetRequest, candidate: JetEngine.JetPackAsset?) async throws -> (asset: JetEngine.JetPackAsset, isCandidate: Bool) - init
init(bagPromise: JetEngine.Promise<JetEngine.Bag>, urlSessionConfiguration: NSURLSessionConfiguration, downloadsBaseURL: Foundation.URL?, urlSessionFactoryProvider: (@Sendable (NSURLSessionConfiguration) -> NSURLSession)?) -> JetEngine.URLJetPackAssetFetcher - init
init(bag: AMSBagProtocol, urlSessionConfiguration: NSURLSessionConfiguration, requestEncoder: AMSURLRequestEncoder?) -> JetEngine.URLJetPackAssetFetcher - init
init(bag: AMSBagProtocol, urlSessionConfiguration: NSURLSessionConfiguration) -> JetEngine.URLJetPackAssetFetcher - typealias
typealias Request = JetEngine.URLJetPackAssetRequest
Header
struct URLJetPackAssetFetcher { let urlSessionConfiguration: __C.NSURLSessionConfiguration let urlSessionFactoryProvider: (@Sendable (_: __C.NSURLSessionConfiguration) -> __C.NSURLSession)? let downloadsBaseURL: Foundation.URL? let bagPromise: JetEngine.Promise<JetEngine.Bag> init(bagPromise: JetEngine.Promise<JetEngine.Bag>, urlSessionConfiguration: __C.NSURLSessionConfiguration, downloadsBaseURL: Foundation.URL?, urlSessionFactoryProvider: (@Sendable (_: __C.NSURLSessionConfiguration) -> __C.NSURLSession)?) init(bag: any __C.AMSBagProtocol, urlSessionConfiguration: __C.NSURLSessionConfiguration, requestEncoder: __C.AMSURLRequestEncoder?) init(bag: any __C.AMSBagProtocol, urlSessionConfiguration: __C.NSURLSessionConfiguration) func _fetch(_: JetEngine.URLJetPackAssetRequest, candidate: JetEngine.JetPackAsset?) async throws -> (asset: JetEngine.JetPackAsset, isCandidate: Swift.Bool) }