new Observer(observer)
- Source:
Parameters:
Name | Type | Description |
---|---|---|
observer |
Object |
Classes
Methods
cleanup() → {Observer}
- Source:
Cleans up and disposes of all events in the stream
Returns:
- Type
- Observer
use(callback) → {function}
- Source:
Parameters:
Name | Type | Description |
---|---|---|
callback |
function |
Returns:
- Type
- function