Skip to main content

DiffCallback type

This API is provided as a beta preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.

A callback method that is called when the data stored in a VeramoJsonCache is updated.

Signature:

export type DiffCallback = (
oldState: Partial<VeramoJsonCache>,
newState: Partial<VeramoJsonCache>,
) => Promise<void>

References: VeramoJsonCache