Example #1
0
 public static IDisposable ToActionInvoker <TCommand>(this IObservable <TCommand?> commandProvider,
                                                      IActionInvoker invoker)
     where TCommand : IStateAction
 => commandProvider.NotNull().SubscribeWithStatus(c => invoker.Run(c));