summaryrefslogtreecommitdiff
path: root/doc/api.texi
diff options
context:
space:
mode:
Diffstat (limited to 'doc/api.texi')
-rw-r--r--doc/api.texi4
1 files changed, 4 insertions, 0 deletions
diff --git a/doc/api.texi b/doc/api.texi
index 1d69f3d..da05e62 100644
--- a/doc/api.texi
+++ b/doc/api.texi
@@ -4512,3 +4512,7 @@ with that value.
Asynchronously send @var{data} to @var{channel} and call @var{thunk}
after it has been received.
@end deffn
+
+@deffn {Procedure} channel-clear! channel
+Clear all messages and scripts awaiting messages in @var{channel}.
+@end deffn