---
id: fast-element.subscriberset.subscribe
title: SubscriberSet.subscribe() method
hide_title: true
---
<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[@microsoft/fast-element](./fast-element.md) &gt; [SubscriberSet](./fast-element.subscriberset.md) &gt; [subscribe](./fast-element.subscriberset.subscribe.md)

## SubscriberSet.subscribe() method

Subscribes to notification of changes in an object's state.

<b>Signature:</b>

```typescript
subscribe(subscriber: Subscriber): void;
```

## Parameters

|  Parameter | Type | Description |
|  --- | --- | --- |
|  subscriber | [Subscriber](./fast-element.subscriber.md) | The object that is subscribing for change notification. |

<b>Returns:</b>

void
