Skip to content

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

ParameterType
pendingCountnumber
finalResponsePullResponse
optionsPDPMockOptions

HttpHandler