/// <summary> /// IAsyncResult pattern to async send the AggregateEvent /// </summary> /// <param name="request"></param> /// <param name="callback"></param> /// <param name="state"></param> /// <returns></returns> public IAsyncResult BeginSendAggregateEvent(AE.Jetstream request, AsyncCallback callback, Object state) { _sendAggregateEventAsync = new SendAggregateEventAsync(SendAggregateEvent); return _sendAggregateEventAsync.BeginInvoke(request, callback, state); }
/// <summary> /// IAsyncResult pattern to async send the AggregateEvent /// </summary> /// <param name="request"></param> /// <param name="callback"></param> /// <param name="state"></param> /// <returns></returns> public IAsyncResult BeginSendAggregateEvent(AE.Jetstream request, AsyncCallback callback, Object state) { _sendAggregateEventAsync = new SendAggregateEventAsync(SendAggregateEvent); return(_sendAggregateEventAsync.BeginInvoke(request, callback, state)); }