AI-Mocks
Toggle table of contents
0.8.1-SNAPSHOT
common
Target filter
common
Switch theme
Search in API
Skip to content
AI-Mocks
ai-mocks-core
/
dev.mokksy.aimocks.core
/
AbstractStreamingResponseSpecification
/
AbstractStreamingResponseSpecification
Abstract
Streaming
Response
Specification
common
constructor
(
responseFlow
:
Flow
<
T
>
?
,
responseChunks
:
List
<
T
>
?
,
delayBetweenChunks
:
Duration
=
Duration.ZERO
,
delay
:
Duration
=
Duration.ZERO
)
(
source
)
Type Parameters
P
The type of the request body.
T
The type of the chunk element.
R
The type of the response chunk.