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 43ce060 commit b5dc349Copy full SHA for b5dc349
stdlib/public/Distributed/DistributedActor.swift
@@ -362,6 +362,7 @@ extension DistributedActor {
362
/// state.
363
///
364
/// When the actor is remote, the closure won't be executed and this function will return nil.
365
+ @_alwaysEmitIntoClient
366
public nonisolated func whenLocal<T: Sendable, E>(
367
_ body: @Sendable (isolated Self) async throws(E) -> T
368
) async throws(E) -> T? {
0 commit comments