# Events

Events emitted by the `Client` instance.

<div class="jsdoc-content"><h2 class="name" id="event:hostAdd">hostAdd</h2>
    

    



<div class="description">
    <p>Emitted when a new host is added to the cluster.</p>
<ul>
<li><a href="Host.html">Host</a> The host being added.</li>
</ul>
</div>













<div class="admonition note"><p class="admonition-title">Source</p><p><a href="https://github.com/scylladb/nodejs-rs-driver/blob/v0.7.1/lib/client.ts#L173" target="_blank" rel="noopener">client.ts, line 173</a></p></div>




















        
            

    

    
    <h2 class="name" id="event:hostDown">hostDown</h2>
    

    



<div class="description">
    <p>Emitted when a host in the cluster changed status from up to down.</p>
<ul>
<li><a href="Host.html">host</a> The host that changed the status.</li>
</ul>
</div>













<div class="admonition note"><p class="admonition-title">Source</p><p><a href="https://github.com/scylladb/nodejs-rs-driver/blob/v0.7.1/lib/client.ts#L188" target="_blank" rel="noopener">client.ts, line 188</a></p></div>




















        
            

    

    
    <h2 class="name" id="event:hostRemove">hostRemove</h2>
    

    



<div class="description">
    <p>Emitted when a host is removed from the cluster</p>
<ul>
<li><a href="Host.html">Host</a> The host being removed.</li>
</ul>
</div>













<div class="admonition note"><p class="admonition-title">Source</p><p><a href="https://github.com/scylladb/nodejs-rs-driver/blob/v0.7.1/lib/client.ts#L178" target="_blank" rel="noopener">client.ts, line 178</a></p></div>




















        
            

    

    
    <h2 class="name" id="event:hostUp">hostUp</h2>
    

    



<div class="description">
    <p>Emitted when a host in the cluster changed status from down to up.</p>
<ul>
<li><a href="Host.html">host</a> The host that changed the status.</li>
</ul>
</div>













<div class="admonition note"><p class="admonition-title">Source</p><p><a href="https://github.com/scylladb/nodejs-rs-driver/blob/v0.7.1/lib/client.ts#L183" target="_blank" rel="noopener">client.ts, line 183</a></p></div></div>
