Workflow Engine .NET

Assembly: OptimaJet.Workflow.Core

Interface IServerSettingsSource<T>

OptimaJet.Workflow.Core.Runtime.Settings.IServerSettingsSource<T>

Represents an asynchronous source that provides and persists workflow server 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
Task
A task that completes when the save operation finishes.