playframework/playframework

Show Flow.fromSinkAndSourceCoupled in websocket docs/examples

Aperta

#8848 aperta il 30 nov 2018

 (2 commenti) (0 reazioni) (0 assegnatari)Scala (4032 fork)batch import
good first issuehelp wantedtopic:documentation

Metriche repository

Star
 (12.623 stelle)
Metriche merge PR
 (Merge medio 10g 17h) (69 PR mergiate in 30 g)

Descrizione

The websockets docs and examples mention Flow.fromSinkAndSource, which combines independent Sources and Sinks into a Flow. There is also a Flow.fromSinkAndSourceCoupled, which will make sure that if one side gets closed, the other side closes as well. It might be good to show this as well?

Guida contributor