# AzureSignalRResource

- Module: [Aspire.Hosting.Azure.SignalR](/reference/api/typescript/aspire.hosting.azure.signalr.md)
- Version: `13.2.0`
- Kind: `handle`
- Source: [GitHub](https://github.com/microsoft/aspire)

## Definition

```typescript
interface AzureSignalRResource
  extends IAzureResource,
    IManifestExpressionProvider,
    IResource,
    IResourceWithConnectionString,
    IResourceWithEndpoints,
    IResourceWithParameters,
    IValueProvider,
    IValueWithReferences,
    IAzurePrivateEndpointTarget {
  runAsEmulator(configureContainer?: (obj: AzureSignalREmulatorResource) => Promise<void>): AzureSignalRResource;
}
```

## Methods

- [runAsEmulator](/reference/api/typescript/aspire.hosting.azure.signalr/azuresignalrresource/runasemulator.md) -- `method` -- Configures an Azure SignalR resource to be emulated. This resource requires an Azure SignalR resource to be added to the application model. Please note that the resource will be emulated in Serverless mode.
    ```typescript
  runAsEmulator(configureContainer?: (obj: AzureSignalREmulatorResource) => Promise<void>): AzureSignalRResource
  ```
