> 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

[`Participant`](/docs/browser-sdk/v4/reference/participant).[`destroyed$`](/docs/browser-sdk/v4/reference/participant#destroyed)

## **Examples**

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