Class PullIngestTriggerService
Waits to trigger title-specific pull ingestion runs.
Inheritance
System.Object
PullIngestTriggerService
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: CrashCABN.PullIngestion
Assembly: CrashCABN.PullIngestion.dll
Syntax
public class PullIngestTriggerService
Constructors
View SourcePullIngestTriggerService(ILogger<PullIngestQueryService>, ITitleConfigurationFactory)
Initializes a new instance of the PullIngestTriggerService class.
Declaration
public PullIngestTriggerService(ILogger<PullIngestQueryService> logger, ITitleConfigurationFactory configFactory)
Parameters
Type | Name | Description |
---|---|---|
ILogger<PullIngestQueryService> | logger | |
ITitleConfigurationFactory | configFactory | The title configuration factory. |
Methods
View SourceRun(Nullable<DateTime>)
Checks which titles should have pull ingestion runs queued based on their time schedule.
Declaration
public async IAsyncEnumerable<string> Run(DateTime? lastRun)
Parameters
Type | Name | Description |
---|---|---|
System.Nullable<System.DateTime> | lastRun | Time value to use to determine when to kick off title-specific runs. |
Returns
Type | Description |
---|---|
System.Collections.Generic.IAsyncEnumerable<System.String> | A System.Threading.Tasks.Task representing the result of the asynchronous operation. |