Constructor
new MultiCallResponse(request, data) → {void}
MultiCallResponse constructor.
MultiCallResponse constructor.
Parameters:
Name | Type | Description |
---|---|---|
request |
Request | |
data |
Object |
- Source:
- See:
Returns:
- Type
- void
Methods
addResponse(response) → {MultiCallResponse}
Add a response.
Add a response.
Parameters:
Name | Type | Description |
---|---|---|
response |
Response |
- Source:
Throws:
Error
Returns:
- Type
- MultiCallResponse
getResponses() → {Array.<Response>}
Get the responses.
Get the responses.
- Source:
Returns:
- Type
- Array.<Response>
isSuccess() → {boolean}
- Source:
Returns:
- Type
- boolean
setResponses(responses) → {MultiCallResponse}
Set and overwrite the responses.
Set and overwrite the responses.
Parameters:
Name | Type | Description |
---|---|---|
responses |
Array.<Response> |
- Source:
Returns:
- Type
- MultiCallResponse