-</code></pre></div></li></ul> <h3 id="errors"><a href="#errors" class="header-anchor">#</a> errors</h3> <ul><li><p><strong>Type:</strong> <code>Array<Error></code></p></li> <li><p><strong>Details:</strong></p> <p>An Array of Errors that are associated with this Function. This is cleared automatically upon the next successful request or manually with <code>ObservableFunction.clear()</code>.</p></li></ul> <h3 id="haserror"><a href="#haserror" class="header-anchor">#</a> hasError</h3> <ul><li><p><strong>Type:</strong> <code>Boolean</code></p></li> <li><p><strong>Details:</strong></p> <p>Indicating whether there were errors during the request. This is cleared automatically upon the next successful request or manually with <code>ObservableFunction.clear()</code>.</p></li></ul> <h3 id="hasreturned"><a href="#hasreturned" class="header-anchor">#</a> hasReturned</h3> <ul><li><p><strong>Type:</strong> <code>Boolean</code></p></li> <li><p><strong>Details:</strong></p> <p>Indicating whether the request has returned successfully at least once. Useful to differentiate between "first load" and "refresh" in conjunction with <code>ObservableFunction.isPending</code>. This can be reset to false manually by calling <code>ObservableFunction.clear()</code> without arguments.</p></li></ul> <h3 id="ispending"><a href="#ispending" class="header-anchor">#</a> isPending</h3> <ul><li><p><strong>Type:</strong> <code>Boolean</code></p></li> <li><p><strong>Details:</strong></p> <p>Indicating whether there are pending calls for this Function.</p></li></ul> <h3 id="pending"><a href="#pending" class="header-anchor">#</a> pending</h3> <ul><li><p><strong>Type:</strong> <code>Array<AbortController></code></p></li> <li><p><strong>Details:</strong></p> <p>This array holds an <code>AbortController</code> instance for every function call that is currently pending. Those are passed to the underlying <code>fetch()</code> call for requests and can be used to cancel the request. See <a href="https://developer.mozilla.org/en-US/docs/Web/API/AbortController" target="_blank" rel="noopener noreferrer">AbortController (MDN)<span><svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="icon outbound"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path> <polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg> <span class="sr-only">(opens new window)</span></span></a> for details.</p></li></ul></div> <footer class="page-edit"><div class="edit-link"><a href="https://github.com/technowledgy/vue-postgrest/edit/main/docs/api/index.md" target="_blank" rel="noopener noreferrer">Edit this page</a> <span><svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="icon outbound"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path> <polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg> <span class="sr-only">(opens new window)</span></span></div> <div class="last-updated"><span class="prefix">Last Updated:</span> <span class="time">12/12/2025, 4:36:03 AM</span></div></footer> <!----> </main></div><div class="global-ui"><!----></div></div>
0 commit comments