public Task HandleEventAsync(NewIrreversibleBlockFoundEvent eventData)
        {
            _taskQueueManager.Enqueue(
                async() => { await _resourceExtractionService.HandleNewIrreversibleBlockFoundAsync(eventData); },
                KernelConstants.ChainCleaningQueueName);

            return(Task.CompletedTask);
        }
Esempio n. 2
0
 public async Task HandleEventAsync(NewIrreversibleBlockFoundEvent eventData)
 {
     await _resourceExtractionService.HandleNewIrreversibleBlockFoundAsync(eventData);
 }