status-go/jail/internal
Pedro Pombeiro 354e23aaf5 Fix issues reported by lint. Part of #1017 2018-06-14 13:52:51 +02:00
..
fetch [#856] move geth subpackages to root level (#1007) 2018-06-08 13:29:50 +02:00
loop Fix issues reported by lint. Part of #1017 2018-06-14 13:52:51 +02:00
process [#856] move geth subpackages to root level (#1007) 2018-06-08 13:29:50 +02:00
promise [#856] move geth subpackages to root level (#1007) 2018-06-08 13:29:50 +02:00
timers [#856] move geth subpackages to root level (#1007) 2018-06-08 13:29:50 +02:00
vm [#856] move geth subpackages to root level (#1007) 2018-06-08 13:29:50 +02:00
LICENSE.md [#856] move geth subpackages to root level (#1007) 2018-06-08 13:29:50 +02:00
README.md [#856] move geth subpackages to root level (#1007) 2018-06-08 13:29:50 +02:00
main.go [#856] move geth subpackages to root level (#1007) 2018-06-08 13:29:50 +02:00

README.md

ottoext

Originally based on github.com/deoxxa/ottoext

GoDoc

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.