Cleanup function which can optionally be returned by effect function. It is called before effect function is called again and on effect destruction.
Cleanup function which can optionally be returned by effect function. It is called before effect function is called again and on effect destruction.