[Executors] Avoid using Job typealias and use the ExecutorJob explicitly

This commit is contained in:
Konrad `ktoso` Malawski
2023-04-14 18:44:17 +09:00
parent 4e71efce1f
commit e19ccb2228
5 changed files with 5 additions and 5 deletions

View File

@@ -24,7 +24,7 @@ internal final class DistributedRemoteActorReferenceExecutor: SerialExecutor {
internal init() {}
@inlinable
public func enqueue(_ job: __owned Job) {
public func enqueue(_ job: __owned ExecutorJob) {
let jobDescription = job.description
fatalError("Attempted to enqueue \(ExecutorJob.self) (\(jobDescription)) on executor of remote distributed actor reference!")
}