Skip to content

Commit fe136c2

Browse files
committed
prepare 0.1.8
1 parent e8726f2 commit fe136c2

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

README.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,11 @@ vm = Quickjs::VM.new(
8989
vm = Quickjs::VM.new(
9090
features: [::Quickjs::MODULE_OS],
9191
)
92+
93+
# `eval_code` will be interrupted after 1 sec (default: 100 msec)
94+
vm = Quickjs::VM.new(
95+
timeout_msec: 1_000,
96+
)
9297
```
9398

9499
#### Dispose VM explicitly

lib/quickjs/version.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# frozen_string_literal: true
22

33
module Quickjs
4-
VERSION = "0.1.7"
4+
VERSION = "0.1.8"
55
end

0 commit comments

Comments
 (0)