PollingWildcardChangeToken constructor
PollingWildcardChangeToken(
- String _root,
- String _pattern, {
- Duration pollingInterval = const Duration(seconds: 4),
- CancellationTokenSource? cancellationTokenSource,
Creates a new PollingWildcardChangeToken for the specified pattern.
Implementation
PollingWildcardChangeToken(
this._root,
this._pattern, {
Duration pollingInterval = const Duration(seconds: 4),
CancellationTokenSource? cancellationTokenSource,
}) : _pollingInterval = pollingInterval,
_cancellationTokenSource = cancellationTokenSource {
_initializeState();
}