<commit_before>## Core API

#### - quit -
Disconnects all redis clients but first waits for pending replies.

#### - disconnect -
Force Disconnects, will not wait for pending replies (use disconnect if you need to wait).

#### - isClientConnected -
Returns the connection state of the redis client provided.

**Parameters:**
 - **client**: `RedisClient` , the redis client instance to check.

**Returns**: `Boolean` , true if connected.<commit_msg>Update core-api.md<commit_after>## Core API

#### **quit**
Disconnects all redis clients but first waits for pending replies.

```javascript
RediBox.quit();
```
#### **disconnect**
Force Disconnects, will not wait for pending replies (use disconnect if you need to wait).

```javascript
RediBox.disconnect();
```
#### **isClientConnected**
  - **client** [Object] `RedisClient` , the redis client instance to check.

Returns `true` if connected or `false` if not.

#### **hostInfo**

Returns an object of details about this host, it's process and timestamps. Used for pubsub.
{'fraction_non_alphanumeric': 0.13391984359726294, 'fraction_numerical': 0.0, 'mean_word_length': 4.720670391061453, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7172706', 'n_tokens_mistral': 301, 'n_tokens_neox': 284, 'n_words': 122}