Skip to content

Commit 89bfa9e

Browse files
committed
docs(sleep): Add note about it being blocking
1 parent e841edb commit 89bfa9e

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

docs/examples.md

+4
Original file line numberDiff line numberDiff line change
@@ -383,6 +383,10 @@ Omit sending {kbd}`enter` to key commands. Equivalent to
383383
`sleep_before` and `sleep_after` options added. Pane and command-level support.
384384
```
385385

386+
```{warning}
387+
This will delay loading as it runs synchronously for each pane. In future version asynchronous support, (i.e. [`asyncio`](asyncio)) will speed up this up.
388+
```
389+
386390
Omit sending {kbd}`enter` to key commands. Equivalent to having
387391
a [`time.sleep`](time.sleep) before and after [`send_keys`](libtmux.Pane.send_keys).
388392

0 commit comments

Comments
 (0)