Connect to the daemon via the given connection
Disconnect from the daemon
Calls each of the listeners registered for a given event.
Return an array listing the events for which the emitter has registered listeners.
Return the number of listeners listening to a given event.
Return the listeners registered for a given event.
Add a listener for a given event.
Add a one-time listener for a given event.
Helper function for parsing a response from the daemon into an array of objects
The daemon response
Markers are keys denoting the start of a new object within the response
Converts a key-value Map from the response into the desired target object
Remove all listeners, or those of the specified event.
Remove the listeners of a given event.
Send a command to the daemon. The returned promise will be resolved with an array containing the lines of the daemon's response.
Generated using TypeDoc
The version (major, minor, patch) of the connected daemon