Early exit Section defmodule Channel do def handle_event1("fetch-weather", _params, socket) do if socket.assigns[:target_date] do IO.puts("1 valid")