asUnownedSerialExecutor
TypeScriptasUnownedSerialExecutor(): SDKHandleSwift declarationfunc asUnownedSerialExecutor() -> UnownedSerialExecutorConvert this executor value to the optimized form of borrowed executor references.
class · iOS 17.0+ · SDK 27.1
class DefaultSerialModelExecutorAn object that safely performs storage-related tasks using an isolated model context.
asUnownedSerialExecutor(): SDKHandleSwift declarationfunc asUnownedSerialExecutor() -> UnownedSerialExecutorConvert this executor value to the optimized form of borrowed executor references.
get modelContext(): ModelContextSwift declarationfinal let modelContext: ModelContextstatic init(modelContext: ModelContext): DefaultSerialModelExecutorSwift declarationinit(modelContext: ModelContext)1 declarations were excluded from these bindings. Each reason comes from the generator or the iOS SDK compiler.
DefaultSerialModelExecutor.enqueue(_:)
The iOS SDK compiler rejected this binding: instance method 'arg' requires that 'ExecutorJob' conform to 'Copyable'