NullSink

A sink that discards everything.

Kept as a neutral element for composition — a DecisionCapture selector that wants to say "attach nothing here" returns null rather than this — and because an element with no sinks attached does not construct a record at all, which is cheaper than handing one to an empty method.

Functions

Link copied to clipboard
open override fun write(record: TransitionRecord)