Skip to content

Home > @world-wide-lab/client > Client > getParticipant

Client.getParticipant() method

Get a Participant. If someone has already participanted on this machine and their IDs is saved, will return this existing participant. Otherwise, will create a new participant and store the corresponding id.

Signature:

typescript
getParticipant(): Promise<Participant>;

Returns:

Promise<Participant>

A Participant instance