com.mathworks.mps.client

## Interface MWRequestState<T>

-     public interface MWRequestState<T>

  The state of an asynchronous MATLAB execution request (immutable).

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `boolean` | `isTerminal()` Returns true if this state is a terminal state.
    `void` | `visit(MWRequestStateVisitor<T> visitor)` Call the appropriate method of visitor, based on the current known state of this request.

- - ### Method Detail

    - #### isTerminal

          boolean isTerminal()

      Returns true if this state is a terminal state.

    - #### visit

          void visit(MWRequestStateVisitor<T> visitor)

      Call the appropriate method of visitor, based on the current known state of this request.

Copyright 2010-2022 The MathWorks, Inc.