Skip to content

Commit

Permalink
Make HBEnvironment Sendable
Browse files Browse the repository at this point in the history
  • Loading branch information
adam-fowler committed Feb 8, 2023
1 parent 8f8657c commit d6056f4
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Sources/Hummingbird/Environment.swift
Original file line number Diff line number Diff line change
Expand Up @@ -103,3 +103,7 @@ extension HBEnvironment: CustomStringConvertible {
String(describing: self.values)
}
}

#if compiler(>=5.6)
extension HBEnvironment: Sendable {}
#endif

0 comments on commit d6056f4

Please sign in to comment.