on</th>
</tr>
</thead>
<tbody><tr>
<td><code>apply</code></td>
<td><code>Stream</code></td>
<td>Yes</td>
<td>A stream whose value is a function</td>
</tr>
<tr>
<td><strong>returns</strong></td>
<td><code>Stream</code></td>
<td></td>
<td>Returns a stream</td>
</tr>
</tbody></table>
<hr>
<h3 id="basic-usage"><a href="#basic-usage">Basic usage</a></h3>
<p>Streams are not part of the core Mithril distribution. To include them in a project, require its module:</p>
<pre><code class="language-javascript">var strea