decisionOf
What an annotated command function returned, as a Decision: the conversion code that wow-compiler generates calls, so annotated functions keep returning what they return in 9.x.
a Decision stays as it is;
nothing (
Unit,null, an empty collection or array) changes nothing;a collection or array is its events, in order;
anything else is one event.