From ce904b1710c365e569dc535f749860a4b7ad4906 Mon Sep 17 00:00:00 2001 From: bplok20010 Date: Sun, 15 Mar 2020 11:01:26 +0800 Subject: [PATCH] Docs update --- README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 479aca5..5f48f08 100644 --- a/README.md +++ b/README.md @@ -54,6 +54,7 @@ try { ```ts interface Options { + // default: 0 not limited timeout?: number; rootContext?: {} | null; globalContextInFunction?: any; @@ -164,7 +165,7 @@ alias of `evaluate` get the last execution time -**`setExecTimeout(): number`** +**`setExecTimeout(timeout: number = 0): void`** set the timeout for each execution