Renamed IScriptable to IScriptContainer, added Stop() function to Calls

This commit is contained in:
2025-08-31 03:02:43 +02:00
parent 92bf48d06a
commit 0647f10ca1
7 changed files with 29 additions and 8 deletions

View File

@@ -5,13 +5,13 @@ public class Worker
{
public string Name { get; set; }
public WorkerConfig Config { get; set; }
public IScriptable Scriptable { get; set; }
public IScriptContainer Scriptable { get; set; }
public List<ICall> Calls { get; set; }
public bool IsExecuting { get; set; }
public DateTime? LastExecution { get; set; }
public DateTime? LastSuccessfulExecution { get; set; }
public Worker(string name, WorkerConfig workerConfig, IScriptable scriptable)
public Worker(string name, WorkerConfig workerConfig, IScriptContainer scriptable)
{
Name = name;
Config = workerConfig;