Version:
interface

DataSourceInterface

A DataSource should provide methods to load data

typescript
interface DataSourceInterface<PARAMETER_TYPE, RESULT_TYPE>

Methods

load

load(parameters: PARAMETER_TYPE): Promise<RESULT_TYPE>

load will load data from disk

Parameters

parametersPARAMETER_TYPERequired parameters

Returns

Promise<RESULT_TYPE>

Was this page helpful?