mmutable</span></h1>
          </div>
<div class="divergent-group" data-filterable-current=":concurrency:dokkaHtml/commonMain" data-filterable-set=":concurrency:dokkaHtml/commonMain"><div class="brief-with-platform-tags"><div class="inner-brief-with-platform-tags"><p class="paragraph"><p class="paragraph">Returns an immutable instance of an object.</p><p class="paragraph">On Android, it simply echoes the input back because threads can have shared state. On iOS, it calls .toImmutable method.</p><h3 class="">