first commit

This commit is contained in:
2026-03-10 16:18:05 +00:00
commit 11f9c069b5
31635 changed files with 3187747 additions and 0 deletions

27
node_modules/expo-image/ios/ImageLoadTask.swift generated vendored Normal file
View File

@@ -0,0 +1,27 @@
// Copyright 2024-present 650 Industries. All rights reserved.
import ExpoModulesCore
internal final class ImageLoadTask: SharedObject {
private let source: ImageSource
private let options: ImageLoadOptions
private var task: Task<UIImage, any Error>?
init(_ source: ImageSource, options: ImageLoadOptions) {
self.source = source
self.options = options
super.init()
}
func load() async throws -> UIImage {
let task = self.task ?? Task { [source, options] in
return try await ImageLoader.shared.load(source, options: options)
}
self.task = task
return try await task.value
}
func abort() {
task?.cancel()
}
}