SDKs / typescript / partner-2fa
waitForEnrollment()Polls enrollment until completed or a terminal failure/timeout.
await partner.waitForEnrollment(enrollmentId, { timeoutMs?, intervalMs? })async waitForEnrollment(enrollmentId: string, opts?: WaitEnrollmentOptions): Promise<EnrollmentPollResult>| Parameter | Type | Required | Description |
|---|---|---|---|
enrollmentId | string | Required | |
opts | WaitEnrollmentOptions | Optional | Default: {} |
Promise<EnrollmentPollResult>
enrollStatus — View API Reference →