19 references to ResourceReadyEvent
Aspire.Hosting (2)
Health\ResourceHealthCheckService.cs (2)
55var resourceReadyEvent = new ResourceReadyEvent(resource, services); 79var resourceReadyEvent = new ResourceReadyEvent(resource, services);
Aspire.Hosting.Redis (1)
RedisBuilderExtensions.cs (1)
172builder.ApplicationBuilder.Eventing.Subscribe<ResourceReadyEvent>(resource, async (e, ct) =>
Aspire.Hosting.Redis.Tests (3)
RedisFunctionalTests.cs (3)
156builder1.Eventing.Subscribe<ResourceReadyEvent>(redisInsightBuilder.Resource, (evt, ct) => 194builder2.Eventing.Subscribe<ResourceReadyEvent>(redisInsightBuilder.Resource, (evt, ct) => 245builder.Eventing.Subscribe<ResourceReadyEvent>(redisInsightBuilder.Resource, (evt, ct) =>
Aspire.Hosting.Tests (13)
Health\ResourceHealthCheckServiceTests.cs (13)
180var blockAssert = new TaskCompletionSource<ResourceReadyEvent>(); 181builder.Eventing.Subscribe<ResourceReadyEvent>(resource.Resource, (@event, ct) => 196var @event = await blockAssert.Task.DefaultTimeout(); 260var resourceReadyEventFired = new TaskCompletionSource<ResourceReadyEvent>(); 261builder.Eventing.Subscribe<ResourceReadyEvent>(parent.Resource, (@event, ct) => 320var resourceReadyEventFired = new TaskCompletionSource<ResourceReadyEvent>(); 321builder.Eventing.Subscribe<ResourceReadyEvent>(parent.Resource, (@event, ct) => 364var parentReady = new TaskCompletionSource<ResourceReadyEvent>(); 365builder.Eventing.Subscribe<ResourceReadyEvent>(parent.Resource, (@event, ct) => 373var childReady = new TaskCompletionSource<ResourceReadyEvent>(); 374builder.Eventing.Subscribe<ResourceReadyEvent>(child.Resource, (@event, ct) => 398var parentReadyEvent = await parentReady.Task.DefaultTimeout(); 401var childReadyEvent = await childReady.Task.DefaultTimeout();