mirror of
https://github.com/status-im/status-go.git
synced 2025-01-09 14:16:21 +00:00
2993dcc3db
* Fix race condition on `LoopSuite` * Fix race condition in the access to a Otto.Value in tests (quick fix, need to improve approach in the future)
ottoext
Originally based on github.com/deoxxa/ottoext
Overview
This package contains some extensions for the otto JavaScript interpreter. The
most important extension is a generic event loop based on code from natto. The
other extensions are setTimeout
and setInterval
support, Promise
support
(via native-promise-only
, MIT license), and fetch
support.
Examples
Take a look at the test files to see how the extensions work.
License
3-clause BSD. A copy is included with the source.