wn_CoreAsyncHost_class">CoreAsyncHost</a> for a <code>string</code>:</p>
<div class="tabGroup" id="tabgroup_vyfMPoI-Yx-1">
<ul role="tablist">
<li role="presentation">
<a href="#tabpanel_vyfMPoI-Yx-1_js" role="tab" aria-controls="tabpanel_vyfMPoI-Yx-1_js" data-tab="js" tabindex="0" aria-selected="true">JavaScript</a>
</li>
</ul>
<section id="tabpanel_vyfMPoI-Yx-1_js" role="tabpanel" data-tab="js">
<pre><code class="lang-ts">const content = &quot;...&quot;;
const host = CoreAsyncHost.forFile(content);
</code