Skip to content

Commit 86ff1d0

Browse files
committed
fix
1 parent be7229f commit 86ff1d0

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

Sources/ComposableArchitecture/Effect.swift

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -425,4 +425,14 @@ extension Effect {
425425
self.init(priority: priority, operation: operation)
426426
}
427427
}
428+
429+
extension TaskGroup {
430+
public mutating func addTask(
431+
name: String?,
432+
priority: TaskPriority? = nil,
433+
operation: @escaping @Sendable (any) () async -> ChildTaskResult
434+
) {
435+
addTask(priority: priority, operation: operation)
436+
}
437+
}
428438
#endif

0 commit comments

Comments
 (0)