From a6479cd7af3f090eccb5bf9ecfde509912540c72 Mon Sep 17 00:00:00 2001 From: btea <2356281422@qq.com> Date: Sat, 12 Oct 2024 20:13:14 +0800 Subject: [PATCH] docs: bench `Options` type add `throws` description (#6695) --- docs/api/index.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/docs/api/index.md b/docs/api/index.md index 3a9b89deb..6c8f36f76 100644 --- a/docs/api/index.md +++ b/docs/api/index.md @@ -486,6 +486,11 @@ export interface Options { */ signal?: AbortSignal + /** + * Throw if a task fails (events will not work if true) + */ + throws?: boolean + /** * warmup time (milliseconds) * @default 100ms -- 2.51.2