# EventDispatchBehavior

- Kind: `enum`
- Package: [Aspire.Hosting](/reference/api/csharp/aspire.hosting.md)
- Version: `13.3.0`
- Namespace: `Aspire.Hosting.Eventing`
- Target framework: `net8.0`
- Source: [GitHub](https://github.com/microsoft/aspire/blob/bd20f904cde09ecb9c9ae5116a6f13614bf2d7c2/src/Aspire.Hosting/Eventing/EventDispatchBehavior.cs)

Controls how events are dispatched to subscribers.

## Definition

```csharp
namespace Aspire.Hosting.Eventing;

public enum EventDispatchBehavior
```

## Enum Members

| Name | Value | Description |
| --- | --- | --- |
| BlockingSequential | 0 | Fires events sequentially and blocks until they are all processed. |
| BlockingConcurrent | 1 | Fires events concurrently and blocks until they are all processed. |
| NonBlockingSequential | 2 | Fires events sequentially but does not block. |
| NonBlockingConcurrent | 3 | Fires events concurrently but does not block. |
