summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
Diffstat (limited to 'doc')
-rw-r--r--doc/api.texi12
1 files changed, 12 insertions, 0 deletions
diff --git a/doc/api.texi b/doc/api.texi
index e1f6acc..1a56039 100644
--- a/doc/api.texi
+++ b/doc/api.texi
@@ -955,6 +955,12 @@ Schedule @var{thunk}, a procedure of zero arguments, to be run after
@var{delay}.
@end deffn
+@deffn {Scheme Procedure} schedule-every @var{interval} @var{thunk} [@var{n}]
+Schedule @var{thunk}, a procedure of zero arguments, to be run every
+@var{interval} amount of time. Repeat this @var{n} times, or
+indefinitely if not specified.
+@end deffn
+
@deffn {Scheme Syntax} at @var{time} @var{body} @dots{}
Schedule @var{body} to be evaluated at @var{time}.
@end deffn
@@ -963,6 +969,12 @@ Schedule @var{body} to be evaluated at @var{time}.
Schedule @var{body} to be evaluated after @var{delay}.
@end deffn
+@deffn {Scheme Syntax} every @var{interval} @var{body} @dots{}
+@deffnx {Scheme Syntax} every (@var{interval} @var{n}) @var{body} @dots{}
+Schedule @var{body} to be evaluated every @var{interval} amount of
+time. Repeat this @var{n} times, or indefinitely if not specified.
+@end deffn
+
@node Coroutines
@subsection Coroutines