Skip to main content

useStatus()

function useStatus(): Ref<SyncStatus>

Retrieve the current synchronization status of PowerSync.

Returns

Ref<SyncStatus>

SyncStatus

Example

<script setup>
import { useStatus } from '@powersync/vue';

const status = useStatus();
<script>