Home > @theweave/api > WeaveServices > onRemoteSignal
WeaveServices.onRemoteSignal property
Event listener allowing to register a callback that will get executed if a remote signal that had been sent with WeaveClient.sendRemoteSignal()
arrives.
Signature:
typescript
onRemoteSignal: (callback: (payload: Uint8Array) => any) => UnsubscribeFunction;