side_output

side_output#

Side-output effect, which allows layers to output intermediate values.

Side outputs are sometimes referred to as “Writer” effects in functional programming. They allow inner functions to write values to an environment without explicitly passing it in.

Classes

CollectingSideOutputs

SideOutput handler that collects all side outputs into a list.

HandledSideOutputRef

Marker for a handled local state effect.

SideOutputEffect

Protocol for a side output effect.

SideOutputEffectImpl

Implementation of the side output effect.

SideOutputRequest

Effect request for a side output.

SideOutputValue

A value written to a side output.

TellIntermediate

Helper layer that writes its intermediate value to a side output.