# HostingEnvironmentWorkerPoolProxy.clearWorkerCount

- Module: [Aspire.Hosting.Azure.Provisioning.AppService](/reference/api/typescript/aspire.hosting.azure.provisioning.appservice.md)
- Defined on: [HostingEnvironmentWorkerPoolProxy](/reference/api/typescript/aspire.hosting.azure.provisioning.appservice/hostingenvironmentworkerpoolproxy.md)
- Version: `17.0.0-preview.1.26567.5`
- Kind: `method`

Clears the WorkerCount provisioning property.

## Definition

```typescript
interface HostingEnvironmentWorkerPoolProxy {
  // ... omitted for brevity
  clearWorkerCount(): void;
}
```

## Signature

```typescript
clearWorkerCount(): void
```

## Defined on

- [HostingEnvironmentWorkerPoolProxy](/reference/api/typescript/aspire.hosting.azure.provisioning.appservice/hostingenvironmentworkerpoolproxy.md) -- `handle`
