CommandHandler typedef
CommandHandler =
Stream Function(dynamic command)
command handler definition, should return a stream
Implementation
typedef Stream CommandHandler(dynamic command);
command handler definition, should return a stream
typedef Stream CommandHandler(dynamic command);