Query work
All checks were successful
Lint / lint (push) Successful in 15s

This commit is contained in:
Julien Valverdé
2025-03-07 22:23:44 +01:00
parent cabceaffcd
commit 7935293bc3
8 changed files with 75 additions and 63 deletions

View File

@@ -21,7 +21,7 @@ function RouteComponent() {
// ), [context])
const query = R.useQuery({
key: ["uuid4", 10],
key: R.useStreamFromValues(["uuid4", 10]),
query: () => Console.log(`Querying 10 IDs...`).pipe(
Effect.andThen(Effect.sleep("500 millis")),
Effect.andThen(HttpClient.get(`https://www.uuidtools.com/api/generate/v4/count/10`)),