target

View as MarkdownOpen in Claude
get target(): MemberTarget

The member’s own { member_id, call_id, node_id } triple, used as the target of every member RPC issued against this participant.

Inherited from

Participant.target

Reading it doubles as a readiness probe: it throws until the member’s call context has been received, and never regresses afterwards.

Throws

ParticipantNotReadyError — the member state has not been received yet.

Examples

const { call_id, member_id } = selfParticipant.target;

See