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