Эх сурвалжийг харах

Add tickSleep key to CodeBoxOptions

ApisNecros 1 жил өмнө
parent
commit
8df1c3bb61
1 өөрчлөгдсөн 4 нэмэгдсэн , 0 устгасан
  1. 4 0
      src/types.ts

+ 4 - 0
src/types.ts

@@ -5,6 +5,10 @@ export type CodeBoxOptions = {
      * The function to pipe the output of the CodeBox to
      */
     outputCallback?: Function,
+    /**
+     * An amount of seconds to sleep between the execution of instuctions in the CodeBox
+     */
+    tickSleep?: number,
     /**
      * Options for debugging the CodeBox
      */