File

projects/wms-framework/src/lib/dataService/dataServiceResponse.ts

Description

Performs the request for added objects

Implements

Iterable

Index

Methods

Constructor

constructor(responses: Iterable<OperationResponse>)
Parameters :
Name Type Optional
responses Iterable<OperationResponse> No

Methods

()
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;
  }
}

result-matching ""

    No results matching ""