Quantcast
Channel: ClearScript
Viewing all articles
Browse latest Browse all 2297

New Post: Promises with V8

0
0
Hi Shrainik,

ClearScript's current release has been tested with V8 3.24, which doesn't have built-in promises enabled by default. Unfortunately neither does V8 3.26, which is the target for ClearScript's next release.

Until built-in promises are enabled in ClearScript, you should be able to use one of the available external implementations, perhaps with some modifications. Another possibility might be to leverage ClearScript's environment and implement the promise API pattern on top of .NET Tasks.

Good luck!

Viewing all articles
Browse latest Browse all 2297