@@ -164,12 +164,13 @@ export async function useAsyncQuery<T = any>(
164
164
* Creates a signal that every given pricesion interval
165
165
* will determine if the current key is currently expired / stale
166
166
* and how many time needs to pass till its considered expired / stale.
167
- * This function helps creating
168
- * the controlled sigal on demand rather than creating
169
- * arbitrary signals ourselves just in case.
170
- * Return value is [isStale, staleIn]
167
+ * This function helps creating the controlled sigal on demand
168
+ * rather than creating arbitrary signals ourselves just in case.
169
+ * Return value is [`isStale`, `staleIn`]
171
170
*/
172
- function createStale ( precision : number ) : [ Readonly < Ref < boolean > > , Readonly < Ref < number > > ] {
171
+ function createStale (
172
+ precision : number ,
173
+ ) : [ Readonly < Ref < boolean > > , Readonly < Ref < number > > ] {
173
174
const now = new Date ( )
174
175
const initialKey = computedKey . value
175
176
@@ -461,12 +462,13 @@ export function useQuery<T = any>(
461
462
* Creates a signal that every given pricesion interval
462
463
* will determine if the current key is currently expired / stale
463
464
* and how many time needs to pass till its considered expired / stale.
464
- * This function helps creating
465
- * the controlled sigal on demand rather than creating
466
- * arbitrary signals ourselves just in case.
467
- * Return value is [isStale, staleIn]
465
+ * This function helps creating the controlled sigal on demand
466
+ * rather than creating arbitrary signals ourselves just in case.
467
+ * Return value is [`isStale`, `staleIn`]
468
468
*/
469
- function createStale ( precision : number ) : [ Readonly < Ref < boolean > > , Readonly < Ref < number > > ] {
469
+ function createStale (
470
+ precision : number ,
471
+ ) : [ Readonly < Ref < boolean > > , Readonly < Ref < number > > ] {
470
472
const now = new Date ( )
471
473
const initialKey = computedKey . value
472
474
0 commit comments