pullPiecesPollingHandler
pullPiecesPollingHandler(
pendingCount,finalResponse,options):HttpHandler
Defined in: packages/synapse-core/src/mocks/pdp.ts:435
Creates a handler that simulates polling, returns pending status N times, then returns the final response
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
pendingCount | number |
finalResponse | PullResponse |
options | PDPMockOptions |
Returns
Section titled “Returns”HttpHandler