Are you an LLM? Read llms.txt for a summary of the docs, or llms-full.txt for the full context.
Skip to content

useDisconnect

Usage

import { useDisconnect } from '@ivem/kit-vue'
 
const disconnect = useDisconnect()
await disconnect.mutateAsync()

Parameters

  • None

Return Type

  • mutate() => void
  • mutateAsync() => Promise<void>
  • isPending: Ref<boolean>
  • error: Ref<Error | null>

Examples

await disconnect.mutateAsync()

Related