projects/wms-framework/src/lib/dataService/dataServiceResponse.ts
Performs the request for added objects
Methods |
constructor(responses: Iterable<OperationResponse>)
|
||||||
Parameters :
|
()
|
Returns :
Iterator<OperationResponse, any, any>
|
import { OperationResponse } from './OperationResponse';
/**
* Performs the request for added objects
*
* @wType System.Data.Services.Client.DataServiceResponse
*/
export class DataServiceResponse implements Iterable<OperationResponse> {
constructor(private responses: Iterable<OperationResponse>) {}
*[Symbol.iterator](): Iterator<OperationResponse, any, any> {
if (this.responses) {
for (const response of this.responses) {
yield response;
}
}
return null;
}
}