Skip to content

Commit a1ee414

Browse files
committed
no need for 'sending' parameter
1 parent d0e0c59 commit a1ee414

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/AsyncQueue/ActorQueue.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ public final class ActorQueue<ActorType: Actor>: @unchecked Sendable {
7878

7979
actor.execute { [taskStream] _ in
8080
func beginExecuting(
81-
_ operation: sending @escaping (isolated ActorType) async -> Void,
81+
_ operation: @escaping (isolated ActorType) async -> Void,
8282
in context: isolated ActorType
8383
) {
8484
// In Swift 6, a `Task` enqueued from an actor begins executing immediately on that actor.

0 commit comments

Comments
 (0)