Class Timebox

java.lang.Object
com.dashjoin.jsonata.Timebox

public class Timebox extends Object
Configure max runtime / max recursion depth. See Frame.setRuntimeBounds - usually not used directly
  • Constructor Details

    • Timebox

      public Timebox(Jsonata.Frame expr)
      Protect the process/browser from a runnaway expression i.e. Infinite loop (tail recursion), or excessive stack growth
    • Timebox

      public Timebox(Jsonata.Frame expr, long timeout, int maxDepth)