Composing a Task with a function that returns a Cmd

Agreed - these kinds of tricks comes at a cost. Alternatively, you could make a specialized GetTimeForSaveFile-message, without the type-parameter. It feels “dumber”, but it’s probably the best approach :sunny: