Skip to content

Commit

Permalink
Introduce Bindable: Identifiable (#124)
Browse files Browse the repository at this point in the history
  • Loading branch information
stephencelis authored Jan 30, 2025
1 parent d833bce commit a267138
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions Sources/PerceptionCore/Bindable.swift
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,12 @@
}
}

extension Bindable: Identifiable where Value: Identifiable {
public var id: Value.ID {
wrappedValue.id
}
}

@available(visionOS, unavailable)
extension Bindable: Sendable where Value: Sendable {}

Expand Down

0 comments on commit a267138

Please sign in to comment.