Constructor
new Subscriber(name)
Describe the constructor here.
Parameters:
| Name | Type | Description |
|---|---|---|
name |
string | The name of the subscriber. |
Methods
hasCallback()
Check whether the subscriber has a callback.
Describe the Subscriber class here.
Describe the constructor here.
| Name | Type | Description |
|---|---|---|
name |
string | The name of the subscriber. |
Check whether the subscriber has a callback.