Interface IChunk<T>
Interface representing a chunk of items in TaskScheduler
Namespace: Cognite.Extractor.Common
Assembly: Cognite.Common.dll
Syntax
public interface IChunk<T>
Type Parameters
Name | Description |
---|---|
T |
Properties
| Edit this page View SourceException
Exception if chunk operation failed
Declaration
Exception? Exception { get; set; }
Property Value
Type | Description |
---|---|
Exception |
Items
Items in chunk
Declaration
IEnumerable<T> Items { get; }
Property Value
Type | Description |
---|---|
IEnumerable<T> |
Methods
| Edit this page View SourceCompleted(T)
Return true if the passed item (which is a member of this chunk) is completed
Declaration
bool Completed(T item)
Parameters
Type | Name | Description |
---|---|---|
T | item | Item to verify |
Returns
Type | Description |
---|---|
bool | True if T is complete and can be removed |