pullPiecesPollingHandler
pullPiecesPollingHandler(
pendingCount,finalResponse,options?):HttpHandler
Defined in: packages/synapse-core/src/mocks/pdp.ts:390
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 |
ReturnType |
options |
PDPMockOptions |
Returns
Section titled “Returns”HttpHandler