Created
March 21, 2023 15:55
-
-
Save softberries/e8cc5f66286bf0d5b41520455c1319e6 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def handle_batch(:enroute, messages, batch_info, _) do | |
IO.puts("#{inspect(self())} Enroute Batch #{batch_info.batch_key}") | |
list = messages |> Enum.map(fn e -> e.data end) | |
IO.inspect(list, label: "Got enroute batch: ") | |
messages | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment