Table of Contents

Class IntentSynchronizationService

Namespace
NArk.Core.Services
Assembly
NArk.Core.dll
public class IntentSynchronizationService : IAsyncDisposable
Inheritance
IntentSynchronizationService
Implements
Inherited Members

Constructors

IntentSynchronizationService(IIntentStorage, IClientTransport, ISafetyService)

public IntentSynchronizationService(IIntentStorage intentStorage, IClientTransport clientTransport, ISafetyService safetyService)

Parameters

intentStorage IIntentStorage
clientTransport IClientTransport
safetyService ISafetyService

IntentSynchronizationService(IIntentStorage, IClientTransport, ISafetyService, ILogger<IntentSynchronizationService>)

public IntentSynchronizationService(IIntentStorage intentStorage, IClientTransport clientTransport, ISafetyService safetyService, ILogger<IntentSynchronizationService> logger)

Parameters

intentStorage IIntentStorage
clientTransport IClientTransport
safetyService ISafetyService
logger ILogger<IntentSynchronizationService>

IntentSynchronizationService(IIntentStorage, IClientTransport, ISafetyService, IEnumerable<IEventHandler<PostIntentSubmissionEvent>>, ILogger<IntentSynchronizationService>?)

public IntentSynchronizationService(IIntentStorage intentStorage, IClientTransport clientTransport, ISafetyService safetyService, IEnumerable<IEventHandler<PostIntentSubmissionEvent>> eventHandlers, ILogger<IntentSynchronizationService>? logger = null)

Parameters

intentStorage IIntentStorage
clientTransport IClientTransport
safetyService ISafetyService
eventHandlers IEnumerable<IEventHandler<PostIntentSubmissionEvent>>
logger ILogger<IntentSynchronizationService>

Methods

DisposeAsync()

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources asynchronously.

public ValueTask DisposeAsync()

Returns

ValueTask

A task that represents the asynchronous dispose operation.

StartAsync(CancellationToken)

public Task StartAsync(CancellationToken cancellationToken = default)

Parameters

cancellationToken CancellationToken

Returns

Task