memo
Deprecateduse signal and computed instead. Will be removed in v1.0.0.
Use this function to wrap a pure function that depends only by inputs. When call a function wrapped by this memo, there are internal check to verify that inputs doesn't changes. If there are any input change, re-execute it, otherwise return the previous result memorized.
Generic types: | T |
No documentation has been provided.
Presentation
function memo (fnToMemoize: T): T;
Returns
T
Parameters
Name | Type | Description |
---|---|---|
fnToMemoize | T | @param fnToMemoize For other info see @link |