File tree Expand file tree Collapse file tree 1 file changed +2
-7
lines changed
stdlib/public/Distributed Expand file tree Collapse file tree 1 file changed +2
-7
lines changed Original file line number Diff line number Diff line change @@ -18,9 +18,9 @@ import _Concurrency
18
18
/// Shared "base" protocol for both (local) `Actor` and (potentially remote)
19
19
/// `DistributedActor`.
20
20
///
21
- /// FIXME: !!! We'd need Actor to also conform to this, but don't want to add that conformance in _Concurrency yet.
21
+ /// FIXME(distributed): We'd need Actor to also conform to this, but don't want to add that conformance in _Concurrency yet.
22
22
@_marker
23
- public protocol AnyActor : AnyObject { }
23
+ public protocol AnyActor : Sendable , AnyObject { }
24
24
25
25
// ==== Distributed Actor -----------------------------------------------------
26
26
@@ -205,14 +205,9 @@ func __isLocalActor(_ actor: AnyObject) -> Bool {
205
205
206
206
// ==== Proxy Actor lifecycle --------------------------------------------------
207
207
208
- /// Called to initialize the distributed-remote actor 'proxy' instance in an actor.
209
- /// The implementation will call this within the actor's initializer.
210
208
@_silgen_name ( " swift_distributedActor_remote_initialize " )
211
209
func _distributedActorRemoteInitialize( _ actorType: Builtin . RawPointer ) -> Any
212
210
213
- @_silgen_name ( " swift_distributedActor_remote_create " )
214
- func distributedActorRemoteCreate( identity: Any , transport: Any ) -> Any // TODO: make it typed
215
-
216
211
/// Called to destroy the default actor instance in an actor.
217
212
/// The implementation will call this within the actor's deinit.
218
213
///
You can’t perform that action at this time.
0 commit comments