# getEventing

- Module: [Aspire.Hosting](/reference/api/typescript/aspire.hosting.md)
- Version: `13.3.0`
- Kind: `method`
- Source: [GitHub](https://github.com/microsoft/aspire)

Gets the distributed application eventing service from the service provider

## Definition

```typescript
interface IServiceProvider {
  // ... omitted for brevity
  getEventing(): IDistributedApplicationEventing
}
```

## Returns

[IDistributedApplicationEventing](/reference/api/typescript/aspire.hosting/idistributedapplicationeventing.md)

## Applies to

- [IServiceProvider](/reference/api/typescript/aspire.hosting/iserviceprovider.md)
