Skip to Content

get Method

Retrieves the current value from the data source

@returns T
The data source value

API

get(): T;

Example

class ExampleSource<T = any> implements DataSource<T> { private value: T; get(): T { return this.value; } // ... }
Last updated on