lunatic-solutions / submillisecond

A lunatic web framework
MIT License
910 stars 18 forks source link

Add `split()` to WebSocketConnection #86

Closed pmartin-cogility closed 2 years ago

pmartin-cogility commented 2 years ago

Creates a reader: SplitStream and writer: SplitSink from a WebSocketConnection to split ownership between processes.

See the example to evaluate the ergonomics of this addition.

bkolobara commented 2 years ago

Looks great! Thanks for the PR @pmartin-cogility. Could you just resolve the conflict and I will go ahead and merge it?