withExhaustivity(_:operation:)
Overrides the store’s exhaustivity for a given operation.
@MainActor func withExhaustivity<R>(_ exhaustivity: Exhaustivity, operation: () throws -> R) rethrows -> R
Parameters
- exhaustivity
The exhaustivity.
- operation
The operation.