umns" id="content">
  <div id="tocRoot"></div>
  
  <p class="module-desc">This module implements <tt class="docutils literal"><span class="pre">EventSource</span></tt>, which lets you register event handlers and then emit events.
<p><strong class="examples_text">Example:</strong></p>
<pre class="listing"><span class="Keyword">import</span> <span class="Identifier">events</span>
<span class="Keyword">var</span>
  <span class="Identifier">es</span> <span class="Operator">=</span> <span class="Identifier">new