Skip to content

Lwt_io.shutdown_server should evaluate to a thread #259

Closed

Description

@aantron

I.e. instead of

val shutdown_server : server -> unit

have

val shutdown_server : server -> unit Lwt.t

because it is useful to know when the listening socket has been closed, and therefore the address can be reused. The documentation should also be clear that that is what it means to "shut down" a server.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions