janestreet / async_extra

Jane Street Capital's asynchronous execution library (extra)
MIT License
15 stars 8 forks source link

Outdated documentation #10

Closed jonathan-dilorenzo closed 5 years ago

jonathan-dilorenzo commented 6 years ago

Both Tcp.with_connection and Tcp.connect state that they are used with:

[command] ~host ~port f

However, they no longer take labeled arguments host or port, and the new equivalent seems to be:

[command] (Core.Host_and_port.create ~host ~port |> Tcp.Where_to_connect.of_host_and_port) f

bcc32 commented 5 years ago

This was fixed by #12.