Commit a188304
tracing: clarify span enter docs warning (#2010)
## Motivation
It took me several reads to understand why holding a guard over an await
was bad because my brain is naturally synchronous and could only think
about `my_async_function` and `some_other_async_function`
## Solution
Rather than just iterating "this is bad" use that opportunity to
introduce why. Remind the user that this is being executed concurrently
to other tasks
Co-authored-by: Eliza Weisman <eliza@buoyant.io>1 parent 71fb38c commit a188304
1 file changed
+6
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
605 | 605 | | |
606 | 606 | | |
607 | 607 | | |
608 | | - | |
| 608 | + | |
| 609 | + | |
609 | 610 | | |
610 | | - | |
| 611 | + | |
| 612 | + | |
| 613 | + | |
| 614 | + | |
611 | 615 | | |
612 | 616 | | |
613 | 617 | | |
| |||
0 commit comments