public Runner(BoosterConfiguration boosterConfiguration) { _boosterConfiguration = boosterConfiguration; }
private async Task SubscribeAsync <T>(SqsSubscriptionConfiguration <T> config, IAmazonSQS sqsClient, BoosterConfiguration boosterConfig) where T : IEvent { await new SqsQueueSubscriber <T>( sqsClient, boosterConfig.ServiceProvider, config, new List <string>(), new CancellationTokenSource()) .SqsSubscribeAsync <T>(); }