alphatheta-connect 0.28.0 → 0.28.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/cli.js +25 -1
- package/lib/cli.js.map +1 -1
- package/lib/index.js +25 -1
- package/lib/index.js.map +1 -1
- package/lib/remotedb/index.d.ts +5 -0
- package/package.json +1 -1
package/lib/remotedb/index.d.ts
CHANGED
|
@@ -123,6 +123,11 @@ export declare class Connection {
|
|
|
123
123
|
constructor(device: Device, socket: PromiseSocket<Socket>);
|
|
124
124
|
writeMessage(message: Message, span: Span): Promise<void>;
|
|
125
125
|
readMessage<T extends Response>(expect: T, span: Span): Promise<Message<T>>;
|
|
126
|
+
/**
|
|
127
|
+
* False once the device has closed its end of the connection or the socket
|
|
128
|
+
* has failed. Every write after that fails with "write after end".
|
|
129
|
+
*/
|
|
130
|
+
get isOpen(): boolean;
|
|
126
131
|
close(): void;
|
|
127
132
|
}
|
|
128
133
|
export declare class QueryInterface {
|