0.2.2 #31

Merged
Thilawyn merged 184 commits from next into master 2026-01-16 17:05:31 +01:00
Showing only changes of commit b8a3b089b7 - Show all commits

View File

@@ -1,4 +1,4 @@
import { type Cause, Console, type Context, DateTime, type Duration, Effect, Exit, Fiber, HashMap, identity, Option, Pipeable, Predicate, type Scope, Stream, Subscribable, SubscriptionRef } from "effect" import { type Cause, type Context, DateTime, type Duration, Effect, Exit, Fiber, HashMap, identity, Option, Pipeable, Predicate, type Scope, Stream, Subscribable, SubscriptionRef } from "effect"
import * as QueryClient from "./QueryClient.js" import * as QueryClient from "./QueryClient.js"
import * as Result from "./Result.js" import * as Result from "./Result.js"
@@ -204,9 +204,7 @@ extends Pipeable.Class() implements Query<K, A, E, R, P> {
get changes() { return Stream.make(entry.result as Result.Result<A, E, P>) }, get changes() { return Stream.make(entry.result as Result.Result<A, E, P>) },
})), })),
), ),
onNone: () => this.start(key, initial).pipe( onNone: () => this.start(key, initial),
Effect.tap(Console.log("Cache missed"))
),
})) }))
} }