---
id: fast-element.subscriberset._constructor_
title: SubscriberSet.(constructor)
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; [(constructor)](./fast-element.subscriberset._constructor_.md)

## SubscriberSet.(constructor)

Creates an instance of SubscriberSet for the specified source.

<b>Signature:</b>

```typescript
constructor(source: any, initialSubscriber?: Subscriber);
```

## Parameters

|  Parameter | Type | Description |
|  --- | --- | --- |
|  source | any | The object source that subscribers will receive notifications from. |
|  initialSubscriber | [Subscriber](./fast-element.subscriber.md) | An initial subscriber to changes. |
