Composable SFTP Streams

I have written about something i implemented at work. It’s a nice show off for Elixir streams and protocols and the nice abstraction they provide.
We learn how to wrap the Erlang/OTP :ssh_sftp API in a Stream and imlement the Collectable protocol to plug it right into almost everything. Feedback appreciated!

10 Likes

Thank you for this article. At the end it summarises the advantages of programming against a contract. I wish the community embraces it but so far it hasn’t happened.

1 Like