Example #1
0
 public virtual Task EnqueueAsync(object item, MessageEnqueueSettings settings = null)
 {
     return(this.EnqueueManyAsync(new object[]
     {
         item
     }, settings));
 }
Example #2
0
 public virtual void Enqueue(object item, MessageEnqueueSettings settings = null)
 {
     this.EnqueueMany(new object[]
     {
         item
     }, settings);
 }
Example #3
0
 public abstract Task <int> EnqueueManyAsync <TItem>(IEnumerable <TItem> items, MessageEnqueueSettings settings = null);
Example #4
0
 public virtual int EnqueueMany <T>(IEnumerable <T> items, MessageEnqueueSettings settings = null)
 {
     return(TaskUtility.ExecuteTask(() => this.EnqueueManyAsync(items, settings)));
 }