コード例 #1
0
 public Runner(BoosterConfiguration boosterConfiguration)
 {
     _boosterConfiguration = boosterConfiguration;
 }
コード例 #2
0
 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>();
 }