namespace AIStudio.Tools.Services; /// /// What became of a request to queue an indexing run, cf. DataSourceRunQueue.TryReserve. /// internal enum DataSourceQueueRequestResult { /// /// The data source has its place in the queue reserved, and whoever asked enqueues it now. /// QUEUED, /// /// The data source waits in the queue already, and the request merged into that run. /// ALREADY_QUEUED, /// /// The data source runs, and either has its follow-up run already or was asked for none. /// RUNNING, /// /// The data source runs, and gets one follow-up run once the current one completes. /// RUNNING_MARKED_PENDING, }