diff options
author | Clombrong <cromblong@egregore.fun> | 2025-06-24 16:15:01 +0200 |
---|---|---|
committer | Clombrong <cromblong@egregore.fun> | 2025-06-24 16:15:47 +0200 |
commit | b799fe00791a5b76fe32c81a17a00aa144aa19c6 (patch) | |
tree | e303b0aae6cec006943a590ce1183409a2bbf6b5 /lib | |
parent | 027547509d66ebda94f7e972e438a257820f7532 (diff) |
fix(stream): rename function get to next
Diffstat (limited to 'lib')
-rw-r--r-- | lib/stream.ml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/stream.ml b/lib/stream.ml index aa2e2e7..0d182bb 100644 --- a/lib/stream.ml +++ b/lib/stream.ml @@ -18,8 +18,8 @@ type stream_features = { unknown_features : Xml.element list; } -let get (stream : (signal, async) stream) : (signal, sync) stream Lwt.t = - (** [stanza stream] is a promise containing a full stanza of the fragments of +let next (stream : (signal, async) stream) : (signal, sync) stream Lwt.t = + (** [next stream] is a promise containing a full stanza of the fragments of [stream]. *) let traverse_stanza depth fragment = |