<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[Home](./index.md) &gt; [@contract-case/case-boundary](./case-boundary.md) &gt; [BoundaryStateHandler](./case-boundary.boundarystatehandler.md)

## BoundaryStateHandler class

An interface for a state handler that only has setup

**Signature:**

```typescript
export declare abstract class BoundaryStateHandler
```

## Methods

| Method                                                         | Modifiers | Description                                                                                                                                                                            |
| -------------------------------------------------------------- | --------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| [setup()](./case-boundary.boundarystatehandler.setup.md)       |           | <p>Call the user's state setup function.</p><p>If the user provided no setup function, this should be a function that does nothing and returns a <code>BoundarySuccess</code></p>      |
| [teardown()](./case-boundary.boundarystatehandler.teardown.md) |           | <p>Call the user's state teardown function</p><p>If the user provided no teardown function, this should be a function that does nothing and returns a <code>BoundarySuccess</code></p> |
