concurrency:dokkaHtml/commonMain"><div class="brief-with-platform-tags"><div class="inner-brief-with-platform-tags"><p class="paragraph"><p class="paragraph">Consume the future value in <code>code</code> as input. This method may or may not block the calling thread depending upon the implementation.</p><h3 class=""><a></a> Examples</h3><div class="sample-container"><code class="" theme="idea"><pre>val future: Future&lt;T&gt; = // some api which returns a Future&lt;T&gt;<br>val value: R = future.await() // b