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