Interface DSCallback


public interface DSCallback
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    execute(DSResponse dsResponse, Object data, DSRequest dsRequest)
    Callback fired when DataSource methods that send DSRequests complete (such as DataSource.fetchData()).
  • Method Details

    • execute

      void execute(DSResponse dsResponse, Object data, DSRequest dsRequest)
      Callback fired when DataSource methods that send DSRequests complete (such as DataSource.fetchData()).
      Parameters:
      dsResponse - a DSResponse instance with metadata about the returned data
      data - data returned to satisfy the DataSource request. See the DataSource operations topic for expected results for each type of DataSource operation
      dsRequest - the DSRequest that was sent. You can use DSRequest.clientContext to track state during the server turnaround.