Pure functions to handle messages coming from the Polymarket websocket.
Summary
Functions
@spec handle_message(map(), Polymarket.WebSocket.t()) :: {:reply, {:text, String.t()}, Polymarket.WebSocket.t()} | {:noreply, Polymarket.WebSocket.t()}
Pure functions to handle messages coming from the Polymarket websocket.
@spec handle_message(map(), Polymarket.WebSocket.t()) :: {:reply, {:text, String.t()}, Polymarket.WebSocket.t()} | {:noreply, Polymarket.WebSocket.t()}