SDK reference · Node SDK
prov.mandate.network.waitForGrantChange
prov.mandate.network.waitForGrantChange in Node SDK. Wait until the person changes the grant past version (after you showed them an adjust link), polling with backoff from 1 to 15 seconds.
Signature
prov.mandate.network.waitForGrantChange(grantId: string, version: number, opts?: { timeoutMs?: number; minIntervalMs?: number; maxIntervalMs?: number; signal?: AbortSignal }): Promise<NetworkGrant | null>Parameters
grantIdstringRequiredversionnumberRequiredopts{ timeoutMs?: number; minIntervalMs?: number; maxIntervalMs?: number; signal?: AbortSignal }
Returns
Promise<NetworkGrant | null>
HTTP operation
Runs locally, with no request to the API.