public void Dispatch(Dispatchable <TEntry, TState> dispatchable) { _dispatchAttemptCount++; if (_processDispatch.Get()) { var dispatchId = dispatchable.Id; _access.WriteUsing("dispatched", dispatchable); _control.ConfirmDispatched(dispatchId, _confirmDispatchedResultInterest); } }
public void Dispatch(Dispatchable dispatchable) => _control?.ConfirmDispatched(dispatchable.Id, this);