aboutsummaryrefslogtreecommitdiff
path: root/lib/stream.ml
diff options
context:
space:
mode:
authorClombrong <cromblong@egregore.fun>2025-06-18 22:09:25 +0200
committerClombrong <cromblong@egregore.fun>2025-06-18 22:09:25 +0200
commitc90fe3ed3f35ea01b0d1299a0e721a5ab902ca11 (patch)
tree8d872f86d95cf887a2eb110a4ec697815ab42408 /lib/stream.ml
parentb039051748d023a004f2c8848a756b8fb67617b1 (diff)
style: change fill-column to 88
Diffstat (limited to 'lib/stream.ml')
-rw-r--r--lib/stream.ml6
1 files changed, 4 insertions, 2 deletions
diff --git a/lib/stream.ml b/lib/stream.ml
index adf852c..1363352 100644
--- a/lib/stream.ml
+++ b/lib/stream.ml
@@ -9,7 +9,8 @@ type auth_mechanism =
| Unknown of string [@@deriving show { with_path = false }]
let get (stream : (signal, async) stream) : (signal, sync) stream Lwt.t =
- (** [stanza stream] is a promise containing a full stanza of the fragments of [stream].*)
+ (** [stanza stream] is a promise containing a full stanza of the fragments of
+ [stream]. *)
let traverse_stanza depth fragment =
let depth = match fragment with
@@ -20,7 +21,8 @@ let get (stream : (signal, async) stream) : (signal, sync) stream Lwt.t =
in transform traverse_stanza 0 stream |> Markup_lwt.load
let start domain : Portal.t Lwt.t =
- (** [start domain] is a promise containing a Portal (stream * push) connected to the XMPP server [domain].
+ (** [start domain] is a promise containing a Portal (stream * push) connected to the
+ XMPP server [domain].
Currently, it doesn't handle anything except the initial [<open/>] stanza. *)
let* stream, _push = Portal.connect domain