Пример #1
0
        public async Task RunAsync(CancellationToken cancellationSourceToken)
        {
            if (_catalystNode == null)
            {
                BuildNode();
            }

            await _catalystNode.RunAsync(cancellationSourceToken);
        }
 public async Task RunAsync(CancellationToken cancellationSourceToken)
 {
     await _node.RunAsync(cancellationSourceToken).ConfigureAwait(false);
 }