getGuestId
Version:
|
Type |
Function |
|
Import path |
|
Returns a promise that resolves to the guest IDguest ID. Used for testing and debugging purposes.
Signature
Return value
Returns a promise.
Examples
Example 29. Running the getGuestId function
Next.js
Here's an example of how to use the getGuestId function to log the guest ID to the console: