瀏覽代碼

Add documentation for tickSleep option

ApisNecros 1 年之前
父節點
當前提交
5d169d2a95
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      README.md

+ 1 - 0
README.md

@@ -65,6 +65,7 @@ The `CodeBox` class constructor's third parameter is an optional object of optio
 | Key | Data Type | Default | Description |
 |---|---|---|---|
 | **outputCallback**       | Function  | console.log           | A function to send all output from the Code Box to |
+| **tickSleep**            | number    | 0                     | The amount of time to delay execution of each instruction in the Code Box. |
 | **debug.print.logger**   | Function  | this.outputCallback   | A function to send all debugging output to. |
 | **debug.print.codeBox**  | boolean   | false                 | Output the current state of the Code Box at the start of each instruction |
 | **debug.print.stacks**   | boolean   | false                 | Output the current state of all stacks in the Code Box at the start of each instruction |