RunicPathWatcherOptions class

Namespace Runic.Application.Views in Runic.Application.Views 0.23.0

public sealed class RunicPathWatcherOptions

Options of a RunicPathWatcher.

Constructors

RunicPathWatcherOptions

public RunicPathWatcherOptions()

No documentation.

Properties

Debounce

public TimeSpan Debounce { get; init; }

Gets the quiet period after an event before targets are read and a change is reported. Default 250 ms.

PollingInterval

public TimeSpan PollingInterval { get; init; }

Gets how often targets are read where events cannot be trusted. Default 2 seconds.

TimeProvider

public TimeProvider TimeProvider { get; init; }

Gets the time provider for debouncing and polling. Default TimeProvider.System.

UsePolling

public bool UsePolling { get; init; }

Gets whether to read targets every RunicPathWatcherOptions.PollingInterval instead of watching for events.