
the JSON object before pushing it into the store.</p>
<p><code>push</code> only accepts one record at a time. If you would like to load an
array of records to the store you can call
<a href="https://api.emberjs.com/data/classes/DS.Store.html#method_pushMany">pushMany</a>.</p>
<pre class="language-javascript line-numbers"><code class="javascript language-javascript">socket<span class="token punctuation">.</span><span class="token function">on</span><span class="token punctuation">(</span><span class="token 