jax-js
    Preparing search index...

    Function blockUntilReady

    • Wait until all Array leaves are ready by calling Array.blockUntilReady().

      This can be used to wait for the results of an intermediate computation to finish. It's recommended to call this regularly in an iterative computation to avoid queueing up too many pending operations.

      Does not consume reference to the arrays.

      Type Parameters

      • T extends unknown

      Parameters

      Returns Promise<T>