Skip to content

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

Parameter Type
pendingCount number
finalResponse ReturnType
options PDPMockOptions

HttpHandler