mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
* [Distributed] Invoke handler.onReturn ad hoc via ast synthesized func * reformat and cleanup * remove unused var
11 lines
257 B
Swift
11 lines
257 B
Swift
import Distributed
|
|
|
|
typealias DefaultDistributedActorSystem = LocalTestingDistributedActorSystem
|
|
|
|
@available(SwiftStdlib 5.6, *)
|
|
public distributed actor DA {
|
|
public distributed func doSomethingDistributed(param: String) async -> Int {
|
|
return 0
|
|
}
|
|
}
|