Current section
Files
Jump to
Current section
Files
lib/saxy/handler/accumulating.ex
defmodule Saxy.Handler.Accumulating do
# Accumulating handler originally intended to be
# used with stream transformations
@moduledoc false
@behaviour Saxy.Handler
def handle_event(event, data, state) do
{:ok, [{event, data} | state]}
end
end