Skip to content

Gun-Vue docs v0.21.4Docs


Gun-Vue docs v0.21.4 / Relays / useRelays

Function: useRelays()

useRelays(): object

Gets the list of actual gun relays and tool to update the list

Returns

object

errors

errors: object

loadRelays()

loadRelays: () => Promise<object>

Returns

Promise<object>

relays

relays: object

Example

ts
import { useRelays } from '@gun-vue/composables'
const { relays, errors, loadRelays } = useRelays()

Defined in

src/gun/useRelays.js:77

MIT