mindspank / qsocks

A lightweight promise wrapper around the Qlik Sense Engine API

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Close doc?

countnazgul opened this issue · comments

Is it possible to close a document? My idea is to open document, do some stuff with it, close it and open another one without the need to open new connection for each app.

I can see that there is app.close() method in the documentation ( http://goo.gl/v6thWH ) but can't see something like it in qsocks.

Ye thats for the Capabilities API.
You can't "close" a app currently, the only way is to close the entire socket and open a new one.

You can close the socket by accessing .connection.ws.close()

-----Original Message-----
From: "Stefan Stoichev" notifications@github.com
Sent: ‎9/‎30/‎2015 6:59 AM
To: "mindspank/qsocks" qsocks@noreply.github.com
Subject: [qsocks] Close doc? (#12)

Is it possible to close a document? My idea is to open document, do some stuff with it, close it and open another one without the need to open new connection for each app.
I can see that there is app.close() method in the documentation ( http://goo.gl/v6thWH ) but can't see something like it in qsocks.

Reply to this email directly or view it on GitHub.

Yea that's my workaround. Just wanted to be sure that im not missing something.
Thanks!