Skip to content

Commit 37c290c

Browse files
committed
Update README.md
1 parent ee76f5c commit 37c290c

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

README.md

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,3 +79,24 @@ Promise resolve a new tuple.
7979
So it's replace. More you can read here: http://tarantool.org/doc/book/box/box_space.html
8080

8181
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.
95+
96+
##Contributions
97+
98+
It's ok you can do whatever you need.
99+
100+
##ToDo
101+
102+
Test **eval** and **call** methods.

0 commit comments

Comments
 (0)