Esempio n. 1
0
            public FeedHandler(DocumentClient client, DocumentCollection collection, DataFile dataFile, CosmosFeedOptions options)
            {
                this.client     = client;
                this.collection = collection;
                this.dataFile   = dataFile;
                this.options    = options;

                cancelToken = new CancellationTokenSource();

                Task = Task.Run(Execute);
            }
Esempio n. 2
0
 public CosmosFeedOperation(CosmosFeedOptions options)
     : base(options)
 {
     this.options = options;
 }