(_getRuntime: () => Context.Context<R>, getAtomRt: () => AtomClientRuntime)
| 739 | } |
| 740 | |
| 741 | const useQuery: { |
| 742 | /** |
| 743 | * Effect results are passed to the caller, including errors. |
| 744 | * When `I = void` the input argument may be omitted. |
| 745 | * @deprecated use client helpers instead (.query()) |
| 746 | */ |
| 747 | <I, E, A, Request extends Req, Name extends string>( |
| 748 | self: RequestHandlerWithInput<I, A, E, R, Request, Name> |
| 749 | ): { |
| 750 | <TData = A>( |
| 751 | arg: WatchSource<Option.Option<I>>, |
| 752 | options: Omit<CustomUndefinedInitialQueryOptions<A, CauseException<E>, TData>, "enabled"> & { mode: "optional" } |
| 753 | ): readonly [ |
| 754 | ComputedRef<AsyncResult.AsyncResult<TData, E>>, |
| 755 | ComputedRef<TData | undefined>, |
no outgoing calls
no test coverage detected
searching dependent graphs…