diff --git a/site/content/docs/03-run-time.md b/site/content/docs/03-run-time.md index 43d870d940..1c2c0234ec 100644 --- a/site/content/docs/03-run-time.md +++ b/site/content/docs/03-run-time.md @@ -50,7 +50,7 @@ If a function is returned from `onMount`, it will be called when the component i ``` -> Returning a function is only available for *synchronous* onMount functions. If an `async` function or `Promise` is passed to `onMount`, the returned function will **not** be called. +> This behaviour will only work when the function passed to `onMount` synchronously returns a value. `async` functions always return a `Promise`, and as such cannot *synchronously* return a function. #### `beforeUpdate`