@deephaven/jsapi-types
    Preparing search index...

    Class dh

    Functions in the dh namespace itself. Not a class: it has no constructor and no instance members.

    Index
    • Returns dh

    • Resolves each of the pending tables, as PendingTable.resolve() does, and gives the tables in the same order once all have arrived. If one fails, the result rejects along with it, and the others are canceled via PendingTable.cancel(), so nothing is left open: work still running is stopped, a table already delivered is closed, and anything chained on them that has not produced its table yet fails too. Aborting the signal in options also cancels each pending table and closes any that did complete.

      Like any use of a pending table, call resolveAll in the task that made the pending tables, and do not also await or resolve them elsewhere.

      const [joined, totals] = await dh.resolveAll([
          left.naturalJoin(right, ["Key"]),
          left.sumBy(["Key"]),
      ]);
      

      Parameters

      • pendings: readonly PendingTable<any>[]

        the pending tables to resolve

      • Optionaloptions: ResolveOptions

        optionally, a signal to abort with

      Returns Promise<ResolvedTable[]>

      a promise of the resolved tables, in the order given, which the caller must close