Interface IServerSettingsSource<T>
OptimaJet.Workflow.Core.Runtime.Settings.IServerSettingsSource<T>
Represents an asynchronous source that provides and persists workflow server settings.
Namespace: OptimaJet.Workflow.Core.Runtime.Settings
public interface IServerSettingsSource<T> where T : new()Methods
Task<T> GetSettingsAsync() #Gets the current settings asynchronously.
Returns
Type
Description
Task<T>A task that returns the current settings instance.
Task SaveSettingsAsync(T settings) #Saves the provided settings instance asynchronously.
Parameters
Name
Type
Description
settings{T}The settings object to save.
Returns
Type
Description
TaskA task that completes when the save operation finishes.