clsx-plus • Docs
clsx-plus / deferredValueFn
function deferredValueFn<A>(
config,
args,
fn,
equalityChecker?,
): DeferredValue<A>;
Internal
Creates a new instance of the DeferredValue
class.
Type Parameter |
---|
|
Parameter | Type | Description |
---|---|---|
|
The configuration object containing the cache and other settings |
|
|
|
The arguments to pass to the calculation function |
|
The calculation function to call |
|
|
An optional function to check if the arguments have changed |
A new instance of the DeferredValue
class