Skip to content

Commit

Permalink
[_]: Add available directive for async for each
Browse files Browse the repository at this point in the history
  • Loading branch information
PixoDev committed Jun 25, 2024
1 parent 90deacb commit b7dd3ef
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Sources/InternxtSwiftCore/Extensions/Sequence.swift
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,9 @@

import Foundation

@available(macOS 10.15, *)
extension Sequence {

@available(macOS 10.15, *)
func asyncForEach(
_ operation: (Element) async throws -> Void
) async rethrows {
Expand Down

0 comments on commit b7dd3ef

Please sign in to comment.