Skip to content

Commit

Permalink
Docs: more detail on Lwt_io.shutdown_server
Browse files Browse the repository at this point in the history
See #259.

[skip ci]
  • Loading branch information
aantron committed Jul 4, 2016
1 parent 2c3c2df commit 29b2530
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/unix/lwt_io.mli
Original file line number Diff line number Diff line change
Expand Up @@ -460,7 +460,10 @@ val establish_server :
[backlog] is the argument passed to [Lwt_unix.listen]. *)

val shutdown_server : server -> unit
(** Shutdown the given server *)
(** Close the given server's listening socket. This function does not wait for
the close operation to actually complete. It does not affect the sockets
of connections that have already been accepted, i.e. passed to [f] by
[establish_server] or [establish_server_safe]. *)

val lines_of_file : file_name -> string Lwt_stream.t
(** [lines_of_file name] returns a stream of all lines of the file
Expand Down

0 comments on commit 29b2530

Please sign in to comment.