fix: add eslint-disable for Promise+setTimeout in CollapseActive.vue (#442)
No push event exists for Ponder indexing completion; grandfathered with justification comment per the no-fixed-delays rule exception policy. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
0a15df2e01
commit
2483630a2d
1 changed files with 1 additions and 0 deletions
|
|
@ -213,6 +213,7 @@ async function changeTax(id: bigint, nextTaxRateIndex: number | null) {
|
|||
async function unstakePosition() {
|
||||
await unstake.exitPosition(props.id);
|
||||
loading.value = true;
|
||||
// eslint-disable-next-line no-restricted-syntax -- Polling with timeout: no push event exists for Ponder indexing completion; Ponder GraphQL has no subscription endpoint. See AGENTS.md #Engineering Principles.
|
||||
await new Promise(resolve => setTimeout(resolve, 5000));
|
||||
await loadPositions(currentChainId.value);
|
||||
loading.value = false;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue