Exemplo 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);
            }
Exemplo n.º 2
0
 public CosmosFeedOperation(CosmosFeedOptions options)
     : base(options)
 {
     this.options = options;
 }