25 references to BlockingSequential
Aspire.Hosting (3)
DistributedApplicationEventingExtensions.cs (1)
31eventing.PublishResourceEndpointsAllocatedAsync(@event, EventDispatchBehavior.BlockingSequential, cancellationToken);
Eventing\DistributedApplicationEventing.cs (1)
20return PublishAsync(@event, EventDispatchBehavior.BlockingSequential, cancellationToken);
Orchestrator\ApplicationOrchestrator.cs (1)
202PublishEndpointsAllocatedAsync(context.Events, _eventing, EventDispatchBehavior.BlockingSequential, context.CancellationToken);
Aspire.Hosting.Kafka.Tests (1)
AddKafkaTests.cs (1)
296EventDispatchBehavior.BlockingSequential);
Aspire.Hosting.MySql.Tests (1)
AddMySqlTests.cs (1)
425EventDispatchBehavior.BlockingSequential);
Aspire.Hosting.Tests (20)
Dcp\DcpExecutorTests.cs (1)
5000context.Events, eventing, Hosting.Eventing.EventDispatchBehavior.BlockingSequential, context.CancellationToken));
Eventing\DistributedApplicationBuilderEventingTests.cs (1)
72var pendingPublish = builder.Eventing.PublishAsync(new DummyEvent(), EventDispatchBehavior.BlockingSequential);
Orchestrator\ApplicationOrchestratorTests.cs (17)
51builder.Eventing, EventDispatchBehavior.BlockingSequential, cts.Token).DefaultTimeout(); 85builder.Eventing, EventDispatchBehavior.BlockingSequential, default).DefaultTimeout(); 121builder.Eventing, EventDispatchBehavior.BlockingSequential, cts.Token).DefaultTimeout(); 128builder.Eventing, EventDispatchBehavior.BlockingSequential, cts.Token).DefaultTimeout(); 151builder.Eventing, EventDispatchBehavior.BlockingSequential, cts.Token).DefaultTimeout(); 155builder.Eventing, EventDispatchBehavior.BlockingSequential, cts.Token).DefaultTimeout(); 221[InlineData(EventDispatchBehavior.BlockingSequential)] 317await orchestrator.PublishEndpointsAllocatedAsync([new(frontend.Resource, app.Services)], builder.Eventing, EventDispatchBehavior.BlockingSequential, default); 359await orchestrator.PublishEndpointsAllocatedAsync([new(frontend.Resource, app.Services)], builder.Eventing, EventDispatchBehavior.BlockingSequential, default); 360await orchestrator.PublishEndpointsAllocatedAsync([new(manager.Resource, app.Services)], builder.Eventing, EventDispatchBehavior.BlockingSequential, default); 387var publish = orchestrator.PublishEndpointsAllocatedAsync([new(frontend.Resource, app.Services)], builder.Eventing, EventDispatchBehavior.BlockingSequential, default); 423await orchestrator.PublishEndpointsAllocatedAsync([new(frontend.Resource, app.Services)], builder.Eventing, EventDispatchBehavior.BlockingSequential, default); 445await orchestrator.PublishEndpointsAllocatedAsync([new(frontend.Resource, app.Services)], builder.Eventing, EventDispatchBehavior.BlockingSequential, default).DefaultTimeout(); 471await orchestrator.PublishEndpointsAllocatedAsync([new(frontend.Resource, app.Services)], builder.Eventing, EventDispatchBehavior.BlockingSequential, default); 492await orchestrator.PublishEndpointsAllocatedAsync([new(frontend.Resource, app.Services)], builder.Eventing, EventDispatchBehavior.BlockingSequential, default); 520await orchestrator.PublishEndpointsAllocatedAsync([new(frontend.Resource, app.Services)], builder.Eventing, EventDispatchBehavior.BlockingSequential, default); 524await orchestrator.PublishEndpointsAllocatedAsync([new(frontend.Resource, app.Services)], builder.Eventing, EventDispatchBehavior.BlockingSequential, default);
WithUrlsTests.cs (1)
91await e.Eventing.PublishAsync(new BeforeResourceStartedEvent(custom, e.Services), EventDispatchBehavior.BlockingSequential, ct);