summaryrefslogtreecommitdiff
path: root/std/testing/README.md
diff options
context:
space:
mode:
authorSzalay Kristóf <32012862+littletof@users.noreply.github.com>2020-06-09 17:19:06 +0200
committerGitHub <noreply@github.com>2020-06-09 11:19:06 -0400
commit6e75254abb1d97541b1ce7a924a3e1c014807fff (patch)
treed4629c40c45e8402cdb3500ec3e14885fe51334d /std/testing/README.md
parent6c21ba05752c6d645c891fa8d90781f943f0f74c (diff)
fix(std/testing/bench): Make progress callback async (#6175)
Diffstat (limited to 'std/testing/README.md')
-rw-r--r--std/testing/README.md2
1 files changed, 1 insertions, 1 deletions
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<BenchmarkRunResult>`
+##### `runBenchmarks(opts?: BenchmarkRunOptions, progressCb?: (p: BenchmarkRunProgress) => void | Promise<void>): Promise<BenchmarkRunResult>`
Runs all registered benchmarks serially. Filtering can be applied by setting
`BenchmarkRunOptions.only` and/or `BenchmarkRunOptions.skip` to regular