Skip to content

Commit

Permalink
Add Sendable conformance
Browse files Browse the repository at this point in the history
  • Loading branch information
SwiftedMind committed Sep 18, 2023
1 parent d92b51f commit 09e84b7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/Processed/Loadable/LoadableState.swift
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ extension LoadableState {
}
}


extension LoadableState: Sendable where Value: Sendable {}
extension LoadableState: Equatable where Value: Equatable {
nonisolated public static func == (
lhs: LoadableState,
Expand Down
1 change: 1 addition & 0 deletions Sources/Processed/Process/ProcessState.swift
Original file line number Diff line number Diff line change
Expand Up @@ -211,6 +211,7 @@ extension ProcessState {
}
}

extension ProcessState: Sendable where ProcessID: Sendable {}
extension ProcessState: Equatable where ProcessID: Equatable {
nonisolated public static func == (lhs: ProcessState, rhs: ProcessState) -> Bool {
switch (lhs, rhs) {
Expand Down

0 comments on commit 09e84b7

Please sign in to comment.