jashkenas/coffee-script — Issue #1797: add an async API
Author: michaelficarra
Created: 2011-10-24 02:12:08+00:00
State: open

The coffeescript API is all synchronous right now. I propose we add an async API. We would move `compile` to `compileSync`, `eval` to `evalSync`, etc. (mirroring the node style) and add async functions as the new `compile`, `eval`, etc.

See [my comment](https://github.com/jashkenas/coffee-script/pull/1793#issuecomment-2499081) in #1793 for an instance where we would take advantage of the asynchronicity. Obviously, this would have to hold off until a major version bump, so I'm marking this as milestone `2.0`.