A function that, when invoked, returns a promise that will be fulfilled with
a value of type T. It memoizes the result from the previous invocation
instead of calling the underlying resources every time.
You can force the provider to refresh the memoized value by invoke the
function with optional parameter hash with forceRefresh boolean key and
value true.
A function that, when invoked, returns a promise that will be fulfilled with a value of type T. It memoizes the result from the previous invocation instead of calling the underlying resources every time.
You can force the provider to refresh the memoized value by invoke the function with optional parameter hash with
forceRefresh
boolean key and valuetrue
.Example