# 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.6.1/lib/client.ts#L169" target="_blank" rel="noopener">client.ts, line 169</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.6.1/lib/client.ts#L184" target="_blank" rel="noopener">client.ts, line 184</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.6.1/lib/client.ts#L174" target="_blank" rel="noopener">client.ts, line 174</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.6.1/lib/client.ts#L179" target="_blank" rel="noopener">client.ts, line 179</a></p></div></div>
