From 5bf3a6b523c5771ae7885e412a2fe171d45269a0 Mon Sep 17 00:00:00 2001 From: Tee Ming Date: Wed, 24 Sep 2025 08:13:04 +0800 Subject: [PATCH] Update 19-await-expressions.md --- documentation/docs/03-template-syntax/19-await-expressions.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/documentation/docs/03-template-syntax/19-await-expressions.md b/documentation/docs/03-template-syntax/19-await-expressions.md index e43d6c81d1..d3896a5c4e 100644 --- a/documentation/docs/03-template-syntax/19-await-expressions.md +++ b/documentation/docs/03-template-syntax/19-await-expressions.md @@ -83,7 +83,7 @@ let b = $derived(await two()); To render placeholder UI, you can wrap content in a `` with a [`pending`](svelte-boundary#Properties-pending) snippet. This will be shown when the boundary is first created, but not for subsequent updates, which are globally coordinated. -After the contents of a boundary have resolved for the first time and replaced the `pending` snippet, you can detect subsequent async work with [`$effect.pending()`]($effect#$effect.pending). This is what you would use display a "we're asynchronously validating your input" spinner next to a form field, for example. +After the contents of a boundary have resolved for the first time and have replaced the `pending` snippet, you can detect subsequent async work with [`$effect.pending()`]($effect#$effect.pending). This is what you would use to display a "we're asynchronously validating your input" spinner next to a form field, for example. You can also use [`settled()`](svelte#settled) to get a promise that resolves when the current update is complete: