profectus-docs/assets/api_util_proxies_functions_runAfterEvaluation.md.D7udyMd1.js

1 line
2.5 KiB
JavaScript
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

import{_ as a,c as t,a0 as r,o}from"./chunks/framework.P9qPzDnn.js";const h=JSON.parse('{"title":"Function: runAfterEvaluation()","description":"","frontmatter":{"editLink":false},"headers":[],"relativePath":"api/util/proxies/functions/runAfterEvaluation.md","filePath":"api/util/proxies/functions/runAfterEvaluation.md","lastUpdated":null}'),n={name:"api/util/proxies/functions/runAfterEvaluation.md"};function i(l,e,c,s,u,d){return o(),t("div",null,e[0]||(e[0]=[r('<p><a href="./../../../">Profectus</a> / <a href="./../">util/proxies</a> / runAfterEvaluation</p><h1 id="function-runafterevaluation" tabindex="-1">Function: runAfterEvaluation() <a class="header-anchor" href="#function-runafterevaluation" aria-label="Permalink to &quot;Function: runAfterEvaluation()&quot;"></a></h1><blockquote><p><strong>runAfterEvaluation</strong>&lt;<code>T</code>&gt;(<code>maybeProxy</code>, <code>callback</code>): <code>void</code></p></blockquote><p>Registers a callback to be called on a lazily evaluated proxy once its been evaluated.</p><h2 id="type-parameters" tabindex="-1">Type Parameters <a class="header-anchor" href="#type-parameters" aria-label="Permalink to &quot;Type Parameters&quot;"></a></h2><p>• <strong>T</strong> <em>extends</em> <code>object</code></p><h2 id="parameters" tabindex="-1">Parameters <a class="header-anchor" href="#parameters" aria-label="Permalink to &quot;Parameters&quot;"></a></h2><h3 id="maybeproxy" tabindex="-1">maybeProxy <a class="header-anchor" href="#maybeproxy" aria-label="Permalink to &quot;maybeProxy&quot;"></a></h3><p><code>T</code></p><p>A value that may be a lazily evaluated proxy</p><h3 id="callback" tabindex="-1">callback <a class="header-anchor" href="#callback" aria-label="Permalink to &quot;callback&quot;"></a></h3><p>(<code>object</code>) =&gt; <code>void</code></p><p>The callback to call once the proxy has been evaluated (or immediately, if the object is not a proxy)</p><h2 id="returns" tabindex="-1">Returns <a class="header-anchor" href="#returns" aria-label="Permalink to &quot;Returns&quot;"></a></h2><p><code>void</code></p><h2 id="defined-in" tabindex="-1">Defined in <a class="header-anchor" href="#defined-in" aria-label="Permalink to &quot;Defined in&quot;"></a></h2><p><a href="https://code.incremental.social/profectus/Profectus/src/branch/main/src/util/proxies.ts#L86" target="_blank" rel="noreferrer">profectus/src/util/proxies.ts:86</a></p>',17)]))}const f=a(n,[["render",i]]);export{h as __pageData,f as default};