From 6e75254abb1d97541b1ce7a924a3e1c014807fff Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Szalay=20Krist=C3=B3f?= <32012862+littletof@users.noreply.github.com> Date: Tue, 9 Jun 2020 17:19:06 +0200 Subject: fix(std/testing/bench): Make progress callback async (#6175) --- std/testing/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'std/testing/README.md') diff --git a/std/testing/README.md b/std/testing/README.md index 42ce49d5c..82f8f9114 100644 --- a/std/testing/README.md +++ b/std/testing/README.md @@ -226,7 +226,7 @@ runBenchmarks({ silent: true }, (p: BenchmarkRunProgress) => { Registers a benchmark that will be run once `runBenchmarks` is called. -##### `runBenchmarks(opts?: BenchmarkRunOptions, progressCb?: (p: BenchmarkRunProgress) => void): Promise` +##### `runBenchmarks(opts?: BenchmarkRunOptions, progressCb?: (p: BenchmarkRunProgress) => void | Promise): Promise` Runs all registered benchmarks serially. Filtering can be applied by setting `BenchmarkRunOptions.only` and/or `BenchmarkRunOptions.skip` to regular -- cgit v1.2.3