# Interface IServerSettingsSource OptimaJet.Workflow.Core.Runtime.Settings.IServerSettingsSource Represents an asynchronous source that provides and persists workflow server settings. Namespace: [OptimaJet.Workflow.Core.Runtime.Settings](https://api.workflowengine.io/core/OptimaJet.Workflow.Core.Runtime.Settings/) ```csharp public interface IServerSettingsSource where T : new() ``` ## Type Hierarchy - IServerSettingsSource Current type - Derived interfaces - [IMultiServerSettingsSource](https://api.workflowengine.io/core/OptimaJet.Workflow.Core.Runtime.Settings/IMultiServerSettingsSource/) - [ISingleServerSettingsSource](https://api.workflowengine.io/core/OptimaJet.Workflow.Core.Runtime.Settings/ISingleServerSettingsSource/) - Implementing types - [DefaultSettingsSource](https://api.workflowengine.io/core/OptimaJet.Workflow.Core.Runtime.Settings/DefaultSettingsSource-T/) - [DefaultMultiServerSettingsSource](https://api.workflowengine.io/core/OptimaJet.Workflow.Core.Runtime.Settings/DefaultMultiServerSettingsSource/) - [DefaultSingleServerSettingsSource](https://api.workflowengine.io/core/OptimaJet.Workflow.Core.Runtime.Settings/DefaultSingleServerSettingsSource/) - [InMemorySettingsSource](https://api.workflowengine.io/core/OptimaJet.Workflow.Core.Runtime.Settings/InMemorySettingsSource-T/) - [InMemoryMultiServerSettingsSource](https://api.workflowengine.io/core/OptimaJet.Workflow.Core.Runtime.Settings/InMemoryMultiServerSettingsSource/) - [InMemorySingleServerSettingsSource](https://api.workflowengine.io/core/OptimaJet.Workflow.Core.Runtime.Settings/InMemorySingleServerSettingsSource/) ## Methods `Task GetSettingsAsync()` Gets the current settings asynchronously. ### Returns | Type | Description | | --- | --- | | `Task` | 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. | [Previous InMemorySingleServerSettingsSource](https://api.workflowengine.io/core/OptimaJet.Workflow.Core.Runtime.Settings/InMemorySingleServerSettingsSource/) [Next ISingleServerSettingsSource](https://api.workflowengine.io/core/OptimaJet.Workflow.Core.Runtime.Settings/ISingleServerSettingsSource/)