com.smartgwt.client.util

## Class AsyncUtil

- java.lang.Object
- - com.smartgwt.client.util.AsyncUtil

-     public class AsyncUtil
      extends java.lang.Object

  Contains utilities and constants to support asynchronous code.

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `AsyncUtil()`

  - ### Method Summary

    All Methods Static Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `static java.lang.String` | `getAsyncMessage(AsyncOperationResult result)` Returns a user-displayable message for the given `AsyncOperationResult` if its `type` is not SUCCESS.

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### AsyncUtil

          public AsyncUtil()

  - ### Method Detail

    - #### getAsyncMessage

          public static java.lang.String getAsyncMessage(AsyncOperationResult result)

      Returns a user-displayable message for the given `AsyncOperationResult` if its `type` is not SUCCESS.

      `isc.getAsyncMessage()` and `AsyncUtil.getAsyncMessage()` are equivalent.

      Parameters:
        `result` - the `AsyncOperationResult`.
      Returns:
        If the `type` is SUCCESS, then `null`; otherwise, a user-displayable message describing the non-successful result. See `HTMLString`
      See Also:
        `com.smartgwt.client.util.AsyncUtil#asyncErrorMessageGeneric`, `com.smartgwt.client.util.AsyncUtil#asyncCanceledMessage`, `com.smartgwt.client.util.AsyncUtil#asyncCanceledMessageGeneric`, `com.smartgwt.client.util.AsyncUtil#asyncDisabledMessageGeneric`, `com.smartgwt.client.util.AsyncUtil#asyncNonSuccessMessage`, `com.smartgwt.client.util.AsyncUtil#asyncNonSuccessMessageGeneric`