{{#if license_header}} {{ license_header }} {{/if}} import { invoke } from '@tauri-apps/api/core' export async function ping(value: string): Promise { return await invoke<{value?: string}>('plugin:{{ plugin_name }}|ping', { payload: { value, }, }).then((r) => (r.value ? r.value : null)); }