[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[gnunet-scheme] 33/42: server: Document 'make-loop'.
From: |
gnunet |
Subject: |
[gnunet-scheme] 33/42: server: Document 'make-loop'. |
Date: |
Sat, 10 Sep 2022 19:08:26 +0200 |
This is an automated email from the git hooks/post-receive script.
maxime-devos pushed a commit to branch master
in repository gnunet-scheme.
commit 31b340daafd5477a44ab13fb780488f5cef8e7d7
Author: Maxime Devos <maximedevos@telenet.be>
AuthorDate: Sat Sep 10 13:14:17 2022 +0200
server: Document 'make-loop'.
---
doc/service-communication.tm | 36 ++++++++++++++++++++++++++++++++++++
1 file changed, 36 insertions(+)
diff --git a/doc/service-communication.tm b/doc/service-communication.tm
index f23848b..c63b7f0 100644
--- a/doc/service-communication.tm
+++ b/doc/service-communication.tm
@@ -565,6 +565,42 @@
<scm|#:control-message-handler>, in that order, as state arguments.
</explain>
+ <\explain>
+ <scm|(make-loop keyword-arguments <text-dots>)>
+ <|explain>
+ Make a loop. Unless mentioned otherwise, all mentioned keyword arguments
+ are required to be set. Non-mentioned keyword arguments can be passed to
+ <scm|make-loop> but will be ignored.
+
+ <\description>
+ <item*|<scm|#:connected>, <scm|#:disconnected>>(optional) See the
+ <reference|server object> pattern. They can be accessed with
+ <scm|loop:connected> and <scm|loop:disconnected> respectively.
+
+ <item*|<scm|#:configuration>>The <reference|configuration> to use for
+ this loop. This module uses it for connecting to the service, but it
+ can be used by the service client code as well, by accessing it with
+ <scm|loop:configuration>.
+
+ <item*|<scm|#:service-name>>The name of the service to pass to
+ <scm|connect/fibers> (a string). This must match the name used in the
+ configuration. It can be accessed with <scm|loop:service-name>.
+
+ <item*|<scm|#:terminal-condition>>The terminal condition of the server.
+
+ <item*|<scm|#:control-channel>>The control channel of the server.
+
+ <item*|<scm|#:lost-and-found>>The <reference|lost-and-found> of the
+ server.
+
+ <item*|<scm|#:control-message-handler>><todo|>
+
+ <item*|<scm|#:make-message-handlers>>This procedure takes the state
+ arguments and returns the message handlers (<todo|TODO: document
+ <scm|message-handlers>>).
+ </description>
+ </explain>
+
<\explain>
<scm|(maybe-send-control-message! <var|server> . <var|message>)>
<|explain>
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.
- [gnunet-scheme] 16/42: cadet/client: Avoid (mutating) hash tables., (continued)
- [gnunet-scheme] 16/42: cadet/client: Avoid (mutating) hash tables., gnunet, 2022/09/10
- [gnunet-scheme] 05/42: dht/client: Bring API of reconnect mostly in line with (gnu gnunet server)., gnunet, 2022/09/10
- [gnunet-scheme] 28/42: server: Inline primitive-disconnect!., gnunet, 2022/09/10
- [gnunet-scheme] 15/42: server: New procedure for making the arguments to make-loop., gnunet, 2022/09/10
- [gnunet-scheme] 17/42: cadet/client: Use <loop> for various objects where possible., gnunet, 2022/09/10
- [gnunet-scheme] 27/42: cadet/client: Simplify more., gnunet, 2022/09/10
- [gnunet-scheme] 23/42: dht/client: Re-indent., gnunet, 2022/09/10
- [gnunet-scheme] 22/42: nse/indent: Re-indent., gnunet, 2022/09/10
- [gnunet-scheme] 26/42: server: Inline single-use server->loop-arguments., gnunet, 2022/09/10
- [gnunet-scheme] 24/42: cadet/client: Re-indent., gnunet, 2022/09/10
- [gnunet-scheme] 33/42: server: Document 'make-loop'.,
gnunet <=
- [gnunet-scheme] 30/42: doc/service-communication: Document the control loop., gnunet, 2022/09/10
- [gnunet-scheme] 18/42: cadet/client: Rewrite with run-loop., gnunet, 2022/09/10
- [gnunet-scheme] 32/42: server: Add type checking to make-loop., gnunet, 2022/09/10
- [gnunet-scheme] 36/42: doc/concurrency: Add missing label for lost-and-found., gnunet, 2022/09/10
- [gnunet-scheme] 39/42: server: Add type checking., gnunet, 2022/09/10
- [gnunet-scheme] 35/42: doc/service-communication: Document #:control-message-handler., gnunet, 2022/09/10
- [gnunet-scheme] 37/42: doc/service-communication: Document run-loop., gnunet, 2022/09/10
- [gnunet-scheme] 34/42: server: Rename control -> continue., gnunet, 2022/09/10
- [gnunet-scheme] 38/42: doc/service-communication: Add procedures to the index., gnunet, 2022/09/10
- [gnunet-scheme] 40/42: doc/service-communication: Add missing argument of make-disconnect!., gnunet, 2022/09/10