onExit property

ExitCallback onExit
getter/setter pair

A function that is called when a user exits Link without successfully linking an Item, or when an error occurs during Link initialization. The function should expect two arguments, a nullable error object and a metadata object.

Implementation

ExitCallback onExit;