openmrs-esm-core

O3 Framework / putDynamicOfflineDataFor

Function: putDynamicOfflineDataFor()

putDynamicOfflineDataFor(userId, type, identifier): Promise<void>

Defined in: packages/framework/esm-offline/src/dynamic-offline-data.ts:169

Declares that dynamic offline data of the given type with the given identifier should be made available offline for the user with the given ID.

Parameters

userId

string

The ID of the user for whom the dynamic offline data should be made available.

type

string

The type of the offline data. See DynamicOfflineData for details.

identifier

string

The identifier of the offline data. See DynamicOfflineData for details.

Returns

Promise<void>