> For a complete index of all SignalWire documentation pages, fetch https://signalwire.com/docs/llms.txt

# destroyed$

> Observable that emits when the instance is destroyed

```ts
get destroyed$(): Observable<void>
```

Observable that emits when the instance is destroyed

## **Inherited from**

`Destroyable.destroyed$`

## **Examples**

```ts
address.destroyed$.subscribe((destroyed) => {
  console.log('destroyed:', destroyed);
});
```