Class ResolveOptions

java.lang.Object
io.deephaven.web.client.api.ResolveOptions

@JsType(namespace="dh") public class ResolveOptions extends Object
Optional configuration that can be passed to JsPendingTable.resolve(Object).
  • Field Details

    • signal

      public @JsNullable elemental2.dom.AbortSignal signal
      Aborting this signal while the operation is pending cancels it as cancel() would: the promise rejects with the signal's reason as a string, and the table it would have produced is released. Every awaiter of the same pending table is affected, since they share one operation. Unlike cancel(), aborting after the table was delivered does nothing: the signal means "stop waiting", so a timeout signal cannot close a table already in use.

      When designing a user interface that cancels operations, keep in mind that it is not always possible to cancel work on the server, and it may make sense to also debounce operations.

      See Also:
  • Constructor Details

    • ResolveOptions

      public ResolveOptions()
    • ResolveOptions

      @JsIgnore public ResolveOptions(Object resolveOptions)