[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[gnunet-scheme] 244/324: doc: Document the 'disconnected' callback.
From: |
gnunet |
Subject: |
[gnunet-scheme] 244/324: doc: Document the 'disconnected' callback. |
Date: |
Tue, 21 Sep 2021 13:24:44 +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 be00f18f729acc6c73fb245ea3a61107392d8703
Author: Maxime Devos <maximedevos@telenet.be>
AuthorDate: Wed Sep 8 15:20:26 2021 +0200
doc: Document the 'disconnected' callback.
* doc/scheme-gnunet.tm
(Estimation of the size of the network): Document 'disconnected'.
---
doc/scheme-gnunet.tm | 8 +++++---
1 file changed, 5 insertions(+), 3 deletions(-)
diff --git a/doc/scheme-gnunet.tm b/doc/scheme-gnunet.tm
index 8a74697..e454d2d 100644
--- a/doc/scheme-gnunet.tm
+++ b/doc/scheme-gnunet.tm
@@ -555,8 +555,8 @@
which is accepts a <with|font-shape|italic|configuration> (see
<todo|reference>) and some optional keyword arguments.<space|1em>This
procedure can be called as <scm|(connect config #:updated updated
- #:connected connected)>.<space|1em>It returns a <with|font-shape|italic|NSE
- server object>.
+ #:connected connected #:disconnected disconnected)>.<space|1em>It returns a
+ <with|font-shape|italic|NSE server object>.
The connection is made asynchronuously; the thunk <var|connected> will be
called when the connection has actually been made.<space|1em>Whenever a new
@@ -565,7 +565,9 @@
the procedure <scm|estimate> can be called on the server object to return
the latest available estimate.<space|1em>If the
<with|font-shape|italic|server object> doesn't have an estimate yet, that
- procedure will return <scm|#false> instead of an estimate.
+ procedure will return <scm|#false> instead of an estimate.<space|1em>When
+ the connection is lost, the (optional) thunk <var|disconnected> is
+ called.<space|1em><todo|reconnecting, disconnecting>
The estimate object has a number of accessors:
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.
- [gnunet-scheme] 199/324: guix: Use patched version of guile-fibers., (continued)
- [gnunet-scheme] 199/324: guix: Use patched version of guile-fibers., gnunet, 2021/09/21
- [gnunet-scheme] 209/324: doc: Resolve the TODO about broken pipes., gnunet, 2021/09/21
- [gnunet-scheme] 213/324: nse/client: Use 'message-handler' macro., gnunet, 2021/09/21
- [gnunet-scheme] 222/324: mq-impl/stream: Handle closed ports more gracefully., gnunet, 2021/09/21
- [gnunet-scheme] 223/324: mq,doc: Update TODOs about message queues., gnunet, 2021/09/21
- [gnunet-scheme] 224/324: doc: Don't forget the message verifier., gnunet, 2021/09/21
- [gnunet-scheme] 225/324: mq: Inject errors when message verification has negative result., gnunet, 2021/09/21
- [gnunet-scheme] 234/324: doc: Remove resolved TODO., gnunet, 2021/09/21
- [gnunet-scheme] 240/324: mq-impl/stream: Handle ECONNRESET gracefully., gnunet, 2021/09/21
- [gnunet-scheme] 238/324: mq-impl/stream: Allow closing queues made with connect-fibers., gnunet, 2021/09/21
- [gnunet-scheme] 244/324: doc: Document the 'disconnected' callback.,
gnunet <=
- [gnunet-scheme] 246/324: mq,mq-impl: Remove TODOs about allocating memory., gnunet, 2021/09/21
- [gnunet-scheme] 245/324: mq-impl/stream: Eliminate 'return' argument of 'handle-input!'., gnunet, 2021/09/21
- [gnunet-scheme] 251/324: tests/utils: Move call-with-spawner from tests/mq-stream.scm., gnunet, 2021/09/21
- [gnunet-scheme] 221/324: mq-impl/stream: Delay knowing the port., gnunet, 2021/09/21
- [gnunet-scheme] 228/324: doc/fdl: Correct ‘quote’ typography., gnunet, 2021/09/21
- [gnunet-scheme] 231/324: doc: Document message verifiers., gnunet, 2021/09/21
- [gnunet-scheme] 236/324: mq-impl/stream: Close the port when stopping the fibers., gnunet, 2021/09/21
- [gnunet-scheme] 242/324: nse/client: Remove unused fields., gnunet, 2021/09/21
- [gnunet-scheme] 243/324: doc/scheme-gnunet.tm: Correct use of 'connected' and 'updated'., gnunet, 2021/09/21
- [gnunet-scheme] 237/324: mq-impl/stream: Allow closing the queue on request., gnunet, 2021/09/21