Skip to main content

@wildix/xbees-connect > ConnectClient > onSuggestContacts

ConnectClient.onSuggestContacts property

Starts listen for the events of searching contacts and handle autosuggestion with the provided callback

Signature:

onSuggestContacts: (callback: (query: string, resolve: SuggestContactsResolver, reject: Reject) => void) => RemoveEventListener;