Dec 22nd, 2015

1. Recursive invocation (and maximum call stack protection)

just added support for in the machine runner. It’s a top-level property that lets you configure the built-in maximum call stack protection now included in the machine runner (defaults to 250.)

Only works for recursion invoked via . For example:

or

If is exceeded, instead of returning the real machine instance, returns a decoy machine that always triggers its error exit with an Error instance (whose code property is “E_MAX_RECURSION”)

2. Auto-timeout

This version also includes support for , a top-level property configurable on a machine definition that indicates the max number of milliseconds to allow the machine to run before giving up and calling the error exit with an Error instance (). Defaults to 30000 (30 seconds).

We make Sails work and things work with Sails.

We make Sails work and things work with Sails.