Skip to main content

Function: useUpdatePeerMetadata()

useUpdatePeerMetadata<PeerMetadata>(): object

Hook provides a method to update the metadata of the local peer

Type Parameters

Type ParameterDefault type
PeerMetadata extends GenericMetadataGenericMetadata

Returns

object

updatePeerMetadata()

updatePeerMetadata: (peerMetadata) => void

Parameters

ParameterType
peerMetadataPeerMetadata

Returns

void

Defined in

packages/react-client/src/hooks/useUpdatePeerMetadata.ts:12