This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
import type * as AsyncData from "@typed/async-data"
|
||||
import { type Cause, Effect, type Fiber, type Option, type Stream, type SubscriptionRef } from "effect"
|
||||
import * as QueryRunner from "./QueryRunner.js"
|
||||
|
||||
|
||||
export interface QueryService<K extends readonly unknown[], A, E> {
|
||||
@@ -12,5 +13,5 @@ export interface QueryService<K extends readonly unknown[], A, E> {
|
||||
}
|
||||
|
||||
export const Tag = <const Id extends string>(id: Id) => <
|
||||
Self, K extends readonly unknown[], A, E = never,
|
||||
>() => Effect.Tag(id)<Self, QueryService<K, A, E>>()
|
||||
Self, K extends readonly unknown[], A, E = never, R = never,
|
||||
>() => Effect.Tag(id)<Self, QueryRunner.QueryRunner<K, A, E, R>>()
|
||||
|
||||
Reference in New Issue
Block a user