diff options
Diffstat (limited to 'manuals/chickadee/Channels.html')
-rw-r--r-- | manuals/chickadee/Channels.html | 31 |
1 files changed, 10 insertions, 21 deletions
diff --git a/manuals/chickadee/Channels.html b/manuals/chickadee/Channels.html index ece7ce5..9f63b1c 100644 --- a/manuals/chickadee/Channels.html +++ b/manuals/chickadee/Channels.html @@ -1,6 +1,6 @@ <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> -<!-- Copyright (C) 2017, 2018, 2019 David Thompson davet@gnu.org +<!-- Copyright (C) 2017-2020 David Thompson davet@gnu.org Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.3 @@ -18,7 +18,7 @@ Foundation Web site at http://www.gnu.org/licenses/fdl.html. The document was typeset with http://www.texinfo.org/ (GNU Texinfo). --> -<!-- Created by GNU Texinfo 6.5, http://www.gnu.org/software/texinfo/ --> +<!-- Created by GNU Texinfo 6.6, http://www.gnu.org/software/texinfo/ --> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <title>Channels (The Chickadee Game Toolkit)</title> @@ -38,23 +38,14 @@ http://www.texinfo.org/ (GNU Texinfo). <!-- a.summary-letter {text-decoration: none} blockquote.indentedblock {margin-right: 0em} -blockquote.smallindentedblock {margin-right: 0em; font-size: smaller} -blockquote.smallquotation {font-size: smaller} div.display {margin-left: 3.2em} div.example {margin-left: 3.2em} div.lisp {margin-left: 3.2em} -div.smalldisplay {margin-left: 3.2em} -div.smallexample {margin-left: 3.2em} -div.smalllisp {margin-left: 3.2em} kbd {font-style: oblique} pre.display {font-family: inherit} pre.format {font-family: inherit} pre.menu-comment {font-family: serif} pre.menu-preformatted {font-family: serif} -pre.smalldisplay {font-family: inherit; font-size: smaller} -pre.smallexample {font-size: smaller} -pre.smallformat {font-family: inherit; font-size: smaller} -pre.smalllisp {font-size: smaller} span.nolinebreak {white-space: nowrap} span.roman {font-family: initial; font-weight: normal} span.sansserif {font-family: sans-serif; font-weight: normal} @@ -89,14 +80,12 @@ ul.no-bullet {list-style: none} </head> <body lang="en"> -<a name="Channels"></a> -<div class="header"> +<span id="Channels"></span><div class="header"> <p> Previous: <a href="Tweening.html#Tweening" accesskey="p" rel="prev">Tweening</a>, Up: <a href="Scripting.html#Scripting" accesskey="u" rel="up">Scripting</a> [<a href="index.html#SEC_Contents" title="Table of contents" rel="contents">Contents</a>][<a href="Index.html#Index" title="Index" rel="index">Index</a>]</p> </div> <hr> -<a name="Channels-1"></a> -<h4 class="subsection">2.4.4 Channels</h4> +<span id="Channels-1"></span><h4 class="subsection">2.5.4 Channels</h4> <p>Channels are a tool for communicating amongst different scripts. One script can write a value to the channel and another can read from it. @@ -120,23 +109,23 @@ someone on the other end of the line to complete the transaction. </pre></div> <dl> -<dt><a name="index-make_002dchannel"></a>Procedure: <strong>make-channel</strong></dt> +<dt id="index-make_002dchannel">Procedure: <strong>make-channel</strong></dt> <dd><p>Return a new channel </p></dd></dl> <dl> -<dt><a name="index-channel_003f"></a>Procedure: <strong>channel?</strong> <em>obj</em></dt> +<dt id="index-channel_003f">Procedure: <strong>channel?</strong> <em>obj</em></dt> <dd><p>Return <code>#t</code> if <var>obj</var> is a channel. </p></dd></dl> <dl> -<dt><a name="index-channel_002dget"></a>Procedure: <strong>channel-get</strong> <em>channel</em></dt> +<dt id="index-channel_002dget">Procedure: <strong>channel-get</strong> <em>channel</em></dt> <dd><p>Retrieve a value from <var>channel</var>. The current script suspends until a value is available. </p></dd></dl> <dl> -<dt><a name="index-channel_002dput"></a>Procedure: <strong>channel-put</strong> <em>channel data</em></dt> +<dt id="index-channel_002dput">Procedure: <strong>channel-put</strong> <em>channel data</em></dt> <dd><p>Send <var>data</var> to <var>channel</var>. The current script suspends until another script is available to retrieve the value. </p></dd></dl> @@ -145,13 +134,13 @@ another script is available to retrieve the value. callback procedures: </p> <dl> -<dt><a name="index-channel_002dget_0021"></a>Procedure: <strong>channel-get!</strong> <em>channel proc</em></dt> +<dt id="index-channel_002dget_0021">Procedure: <strong>channel-get!</strong> <em>channel proc</em></dt> <dd><p>Asynchronously retrieve a value from <var>channel</var> and call <var>proc</var> with that value. </p></dd></dl> <dl> -<dt><a name="index-channel_002dput_0021"></a>Procedure: <strong>channel-put!</strong> <em>channel data [thunk]</em></dt> +<dt id="index-channel_002dput_0021">Procedure: <strong>channel-put!</strong> <em>channel data [thunk]</em></dt> <dd><p>Asynchronously send <var>data</var> to <var>channel</var> and call <var>thunk</var> after it has been received. </p></dd></dl> |