> ISPO SDK documentation. [HTML](https://ispo.ai/docs/types/core.EntitySubscriptionEndHandler.html) · [Documentation index](https://ispo.ai/docs/llms.txt)

# Type Alias EntitySubscriptionEndHandler

```typescript
EntitySubscriptionEndHandler: (reason?: EndReason) => void
```

Types: [EndReason](core.Supporting_types.EndReason.md)

#### Type Declaration

*   *   <a id="__type"></a>
        
        ```typescript
        (reason?: EndReason): void
        ```
        
        Types: [EndReason](core.Supporting_types.EndReason.md)
        
    *   #### Parameters
        
        *   `Optional`reason: [EndReason](core.Supporting_types.EndReason.md)
        
        #### Returns void
