<h2class="anchor anchorWithStickyNavbar_JmGV"id="parameters">Parameters<ahref="#parameters"class="hash-link"aria-label="Direct link to Parameters"title="Direct link to Parameters"></a></h2>
<h3class="anchor anchorWithStickyNavbar_JmGV"id="context">context<ahref="#context"class="hash-link"aria-label="Direct link to context"title="Direct link to context"></a></h3>
<h3class="anchor anchorWithStickyNavbar_JmGV"id="eventcollect">eventCollect<ahref="#eventcollect"class="hash-link"aria-label="Direct link to eventCollect"title="Direct link to eventCollect"></a></h3>
<p>a function called when new build logs are emitted or new events happen during the build operation. The value of <code>eventName</code> can be either <code>stream</code> (and <code>data</code> contains the logs), or <code>finish</code> indicating the end of the build operation, or <code>error</code> in case of build error (and <code>data</code> contains the error message)</p>
<h3class="anchor anchorWithStickyNavbar_JmGV"id="options">options?<ahref="#options"class="hash-link"aria-label="Direct link to options?"title="Direct link to options?"></a></h3>
<h2class="anchor anchorWithStickyNavbar_JmGV"id="returns">Returns<ahref="#returns"class="hash-link"aria-label="Direct link to Returns"title="Direct link to Returns"></a></h2>
<h2class="anchor anchorWithStickyNavbar_JmGV"id="defined-in">Defined in<ahref="#defined-in"class="hash-link"aria-label="Direct link to Defined in"title="Direct link to Defined in"></a></h2>