MCPcopy
hub / github.com/vuejs/vuex / Dispatch

Interface Dispatch

types/index.d.ts:52–55  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

50export function useStore<S = any>(injectKey?: InjectionKey<Store<S>> | string): Store<S>;
51
52export interface Dispatch {
53 (type: string, payload?: any, options?: DispatchOptions): Promise<any>;
54 <P extends Payload>(payloadWithType: P, options?: DispatchOptions): Promise<any>;
55}
56
57export interface Commit {
58 (type: string, payload?: any, options?: CommitOptions): void;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…