expose mutex to serialize VM access
()
| 24 | |
| 25 | // expose mutex to serialize VM access |
| 26 | func Unlock() { |
| 27 | mu.Unlock() |
| 28 | } |
| 29 | |
| 30 | // RegisteredVM returns a JS VM. If name is not empty, it will return a shared instance. |
| 31 | func RegisteredVM(name, init string) (*otto.Otto, error) { |
no test coverage detected