We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 088d390 commit ef8be12Copy full SHA for ef8be12
v3/docs/TUTORIAL.md
@@ -2222,7 +2222,6 @@ scheduler is running.
2222
If a `uasyncio` application terminates, state is retained. Embedded code seldom
2223
terminates, but in testing it is useful to re-run a script without the need for
2224
a soft reset. This may be done as follows:
2225
-
2226
```python
2227
import uasyncio as asyncio
2228
@@ -2237,6 +2236,8 @@ def test():
2237
2236
finally:
2238
asyncio.new_event_loop() # Clear retained state
2239
```
+It should be noted that clearing retained state is not a panacea. Re-running
2240
+complex applications may require state to be retained.
2241
2242
###### [Contents](./TUTORIAL.md#contents)
2243
0 commit comments