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

# type$

> Observable of the resource type (e.g.

```ts
get type$(): Observable<ResourceType>
```

Observable of the resource type (e.g. `'room'`, `'subscriber'`).

## type

```ts
get type(): ResourceType
```

Resource type (e.g. `'room'`, `'subscriber'`).

## **Examples**

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