Function createPlugin

  • Parameters

    Returns ((ctx: PiniaPluginContext<string, StateTree, _GettersTree<StateTree>, _ActionsTree>) => {
        $tauri: {
            start: (() => Promise<void>);
            stop: (() => Promise<void>);
        };
    })

      • (ctx): {
            $tauri: {
                start: (() => Promise<void>);
                stop: (() => Promise<void>);
            };
        }
      • Parameters

        • ctx: PiniaPluginContext<string, StateTree, _GettersTree<StateTree>, _ActionsTree>

        Returns {
            $tauri: {
                start: (() => Promise<void>);
                stop: (() => Promise<void>);
            };
        }