Skip to main content

foundation-comms.datasource.updatedata

Home > @genesislcap/foundation-comms > Datasource > updateData

Datasource.updateData() method

Updates the data in the datasource with the specified data.

Signature:

updateData?(data: Array<any>): Promise<void>;

Parameters

Parameter

Type

Description

data

Array<any>

The data to update the datasource with.

Returns:

Promise<void>

A promise that resolves when the data has been updated.