Optional identity?: stringOptional kind?: ParticipantKind | ParticipantKind[]Optional signal?: AbortSignalA promise that resolves to the participant.
Optional identity?: stringOptional includeOptional kind?: ParticipantKind | ParticipantKind[]Optional signal?: AbortSignal
Returns a participant that matches the given identity. If identity is None, the first participant that joins the room will be returned. If the participant has already joined, the function will return immediately.