You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+21Lines changed: 21 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -79,3 +79,24 @@ Promise resolve a new tuple.
79
79
So it's replace. More you can read here: http://tarantool.org/doc/book/box/box_space.html
80
80
81
81
Promise resolve a new or replaced tuple.
82
+
83
+
**destroy(interupt: Boolean) : Promise**
84
+
85
+
If you call destroy with interupt true it will interupt all process and destroy socket connection without awaiting results. Else it's stub methods with promise reject for future call and await all results and then destroy connection.
86
+
87
+
##Testing
88
+
89
+
Now it's poor test just a win to win situation and some hacks before. Install all packages and tarantool on your machine then launch a test through:
90
+
```
91
+
$ ./test/box.lua
92
+
```
93
+
94
+
Then just a use **npm start** and it will use mocha and launch test.
0 commit comments