Intermediate values from Plushie.Command.stream/2 tasks.
Fields
tag-- the user-defined atom tag from the commandvalue-- the intermediate value emitted by the stream
Pattern matching
def update(model, %StreamEvent{tag: :download, value: %{progress: p}}), do: ...
def update(model, %StreamEvent{tag: :search, value: result}), do: ...