summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--doc/coroutine.n5
1 files changed, 4 insertions, 1 deletions
diff --git a/doc/coroutine.n b/doc/coroutine.n
index 11f9069..8110628 100644
--- a/doc/coroutine.n
+++ b/doc/coroutine.n
@@ -119,7 +119,10 @@ The injection is a one-off. It is not retained once it has been executed. It
may \fByield\fR or \fByieldto\fR as part of its execution.
.PP
Note that running coroutines may be neither probed nor injected; the
-operations may only be applied to
+operations may only be applied to coroutines that are suspended. (If a
+coroutine is running then any introspection code would be merely inspecting
+the state of where it is currently running; \fBcoroinject\fR/\fBcoroprobe\fR
+are unnecessary in that case.)
.VE "8.7, TIP383"
.SH EXAMPLES
.PP