Interface WorkerResponse<TResult>


@JsType(isNative=true, name="ng.WorkerResponse", namespace="<global>") public interface WorkerResponse<TResult>
Public AngularTS WorkerResponse contract exposed through the global ng namespace for Closure-annotated applications.
  • Method Summary

    Modifier and Type
    Method
    Description
    static <TResult> WorkerResponse<TResult>
     
    Public WorkerResponse.id member exposed by the AngularTS namespace contract.
    Public WorkerResponse.type member exposed by the AngularTS namespace contract.
    boolean
    Public WorkerResponse.ok member exposed by the AngularTS namespace contract.
    void
    Public WorkerResponse.id member exposed by the AngularTS namespace contract.
    void
    setOk(boolean ok)
    Public WorkerResponse.ok member exposed by the AngularTS namespace contract.
    void
    Public WorkerResponse.type member exposed by the AngularTS namespace contract.
  • Method Details

    • create

      @JsOverlay static <TResult> WorkerResponse<TResult> create()
    • getId

      @JsProperty String getId()
      Public WorkerResponse.id member exposed by the AngularTS namespace contract.
    • getType

      @JsProperty String getType()
      Public WorkerResponse.type member exposed by the AngularTS namespace contract.
    • isOk

      @JsProperty boolean isOk()
      Public WorkerResponse.ok member exposed by the AngularTS namespace contract.
    • setId

      @JsProperty void setId(String id)
      Public WorkerResponse.id member exposed by the AngularTS namespace contract.
    • setOk

      @JsProperty void setOk(boolean ok)
      Public WorkerResponse.ok member exposed by the AngularTS namespace contract.
    • setType

      @JsProperty void setType(String type)
      Public WorkerResponse.type member exposed by the AngularTS namespace contract.