openmrs-esm-core

O3 Framework / removeDynamicOfflineDataFor

Function: removeDynamicOfflineDataFor()

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

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

Declares that dynamic offline data of the given type with the given identifier no longer needs to be available offline for the user with the given ID.

Parameters

userId

string

The ID of the user who doesn’t require the specified offline data.

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>