We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a37e318 commit b2fb0cfCopy full SHA for b2fb0cf
stdlib/public/Distributed/DistributedActor.swift
@@ -372,6 +372,15 @@ extension DistributedActor {
372
return nil
373
}
374
375
+
376
+ // ABI: Historical whenLocal, rethrows was changed to typed throws `throws(E)`
377
+ @_silgen_name("$s11Distributed0A5ActorPAAE9whenLocalyqd__Sgqd__xYiYaYbKXEYaKs8SendableRd__lF")
378
+ @usableFromInline
379
+ nonisolated func __abi_whenLocal<T: Sendable>(
380
+ _ body: @Sendable (isolated Self) async throws -> T
381
+ ) async rethrows -> T? {
382
+ whenLocal(body)
383
+ }
384
385
386
/// Supports the operation to produce an any Actor instance from a local
0 commit comments