The observable query class type.
The data type returned by the query.
Optional argument type for the query.
Initializes a new instance of ObservableQueryWhen.
The observable query class type.
The data type returned by the query.
Optional argument type for the query.
The observable query constructor.
Whether the subscription should be established.
Calls the underlying useObservableQuery hook, conditionally subscribing.
Optionalargs: TArgumentsOptional arguments for the query.
Optionalsorting: anyOptional sorting for the query.
Tuple of QueryResultWithState and a SetSorting delegate.
Calls the underlying useSuspenseObservableQuery hook, conditionally subscribing. When disabled, returns an empty result without suspending the component.
Optionalargs: TArgumentsOptional arguments for the query.
Optionalsorting: anyOptional sorting for the query.
Tuple of QueryResultWithState and a SetSorting delegate.
Calls the underlying useSuspenseObservableQueryWithPaging hook, conditionally subscribing. When disabled, returns an empty result without suspending the component.
Number of items per page.
Optionalargs: TArgumentsOptional arguments for the query.
Optionalsorting: anyOptional sorting for the query.
Tuple of QueryResultWithState and paging/sorting controls.
Calls the underlying useObservableQueryWithPaging hook, conditionally subscribing.
Number of items per page.
Optionalargs: TArgumentsOptional arguments for the query.
Optionalsorting: anyOptional sorting for the query.
Tuple of QueryResultWithState and paging/sorting controls.
Represents a conditional observable query binding that conditionally subscribes based on a boolean condition. When the condition is false, all hooks are no-ops and return empty results. When true, they behave exactly as calling the underlying hooks directly.
Obtain an instance via the static
when()method on a generated observable query class: