Pitch: Protocol-based Actor Isolation

I don't think I understand. It sounds like you're saying some part of this declaration would be inappropriate:

protocol ValueSemantic: ActorSendable {
  func unsafeSendToActor() -> Self { self }
}

If that's what you're saying, what part, and why do you think it's inappropriate? If not… what are you saying?

1 Like