MCPcopy Create free account
hub / github.com/effect-app/libs / makeStreamQueryAtom

Function makeStreamQueryAtom

packages/vue/src/query.ts:741–752  ·  view source on GitHub ↗
(_getRuntime: () => Context.Context<R>, getAtomRt: () => AtomClientRuntime)

Source from the content-addressed store, hash-verified

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>,

Callers 1

constructorMethod · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…