rkdown!CoreAsyncHost#readFile:member(1)">readFile(file, cancelable)</h4>
  <div class="markdown level1 summary"><p>Reads a file from the host.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  
  <div class="codewrapper">
    <pre><code class="lang-typeScript hljs">readFile(file: string, cancelable?: Cancelable): Promise&lt;string | undefined&gt;;</code></pre>
  </div>
  
  
  <h5 class="parameters">Parameters</h5>
  <div>
    <div class="p