Skip to content

Commit

Permalink
typo 'dynamically'
Browse files Browse the repository at this point in the history
  • Loading branch information
marc2332 committed Sep 21, 2024
1 parent 9da4cbd commit 5be9196
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion book/src/learn/async.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ You may run asynchronous code through the different APIs Dioxus provide. You can

### `spawn`

Simple function to spawn an **async task**, this is primarily targeted for custom hooks or when you wanted to run some async code dinamically from an event listener.
Simple function to spawn an **async task**, this is primarily targeted for custom hooks or when you wanted to run some async code dynamically from an event listener.

Important to know: Tasks spawned with `spawn` will be cancelled when the component their were created is dropped. If you want to have an async tasks not attached to the component you may use `spawn_forever`.

Expand Down

0 comments on commit 5be9196

Please sign in to comment.