Constructors
constructor
- new Dataset(data?: any[], metadata?: any): Dataset
-
Parameters
-
Optional data: any[]
-
Optional metadata: any
Properties
Private _callbacks
_callbacks: any
Private _metadata
_metadata: any
Methods
data
- data(): any[]
- data(data: any[])
metadata
- metadata(): any
- metadata(metadata: any)
A Dataset contains an array of data and some metadata. Changes to the data or metadata will cause anything subscribed to the Dataset to update.