A playground for data structures
An ordered set wrapping :gb_sets
A dict backed by an Agent. WARNING: This should make you cringe. It's essentially a mutable Dict. Only use this when you need concurrent access. There are a lot of other terrible ways to use it.
Streamz.Net.TCPClient.stream/1
accepts a keyword list with :host
and :port
set. It will connect the the host and port and supports Enumerable and Collectable. This enables a bunch of cool things.
n = TCPClient.stream([host: "localhost", port: 4444])
n |> Enum.each &IO.inspect(&1)
["Hello", "World"] |> Enum.into(n)
n |> Enum.into(n)
There are tons of possibilities. Here's what is on the current radar.
TCPServer/1
- A server version ofTCPClient
UDPClient/1
- A UDP version ofTCPClient
UDPServer/1
- A server version ofUDPClient
WebSockets.stream/1
- Bidirection stream for a websocket connection.