InternalTaskRunner

public protocol InternalTaskRunner : AnyObject, Cancellable, Sendable

Note

Sendable because the whole point of a runner is that run() is driven from a detached Task, so conformers already cross concurrency domains. Requiring it here is what lets InternalTask+AsyncSequence start that task without sending a non-Sendable self.