Skip to content

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

Client.createParticipant() method

Create a new participant from sractch. Use getParticipant() if you want to get an existing participant or store their id. This function will not keep track of a participant's id.

Signature:

typescript
createParticipant(participantParams?: ClientParticipantOptions): Promise<Participant>;

Parameters

Parameter

Type

Description

participantParams

ClientParticipantOptions

(Optional)

**Returns:**

Promise<Participant>

A new Participant instance