Working query
All checks were successful
Lint / lint (push) Successful in 15s

This commit is contained in:
Julien Valverdé
2025-03-09 18:08:52 +01:00
parent da2a32001c
commit c689778cea
4 changed files with 49 additions and 34 deletions

View File

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