コード例 #1
0
 public static IDisposable Subscribe <T>(
     this IRillConsumable <T> consumable,
     NewEventHandler <T> onNew,
     SuccessfulEventHandler?onAllSucceeded = null,
     FailedEventHandler?onAnyFailed        = null)
 => consumable.Subscribe(ConsumerFactory.SynchronousConsumer(onNew, onAllSucceeded, onAnyFailed));