View as Markdown

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

grantIdstringRequired
versionnumberRequired
opts{ timeoutMs?: number; minIntervalMs?: number; maxIntervalMs?: number; signal?: AbortSignal }

Returns

Promise<NetworkGrant | null>

HTTP operation

Runs locally, with no request to the API.

Was this page helpful? Send us feedback

LLM? Read llms.txt.