ixfx
    Preparing search index...

    Function takeNextValue

    • Grabs the next value emitted from source. By default waits up to a maximum of one second. Handles subscribing and unsubscribing.

      const value = await Rx.takeNextValue(source);
      

      Throws an error if the source closes without a value or the timeout is reached.

      Type Parameters

      • V

      Parameters

      Returns Promise<V>