- createPlugin(options?): ((ctx: PiniaPluginContext<string, StateTree, _GettersTree<StateTree>, _ActionsTree>) => {
$tauri: {
getPath: (() => Promise<string>);
save: (() => Promise<void>);
start: (() => Promise<void>);
stop: (() => Promise<void>);
};
}) Returns ((ctx: PiniaPluginContext<string, StateTree, _GettersTree<StateTree>, _ActionsTree>) => {
$tauri: {
getPath: (() => Promise<string>);
save: (() => Promise<void>);
start: (() => Promise<void>);
stop: (() => Promise<void>);
};
})
- (ctx): {
$tauri: {
getPath: (() => Promise<string>);
save: (() => Promise<void>);
start: (() => Promise<void>);
stop: (() => Promise<void>);
};
} Parameters
- ctx: PiniaPluginContext<string, StateTree, _GettersTree<StateTree>, _ActionsTree>
Returns {
$tauri: {
getPath: (() => Promise<string>);
save: (() => Promise<void>);
start: (() => Promise<void>);
stop: (() => Promise<void>);
};
}