Prism API
Home
GitHub
Preparing search index...
shared/util
lazy
Function lazy
lazy
<
T
>
(
supplier
:
()
=>
T
)
:
()
=>
T
Returns a function that caches the result of the given supplier.
Type Parameters
T
Parameters
supplier
:
()
=>
T
Returns
()
=>
T
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
Home
GitHub
Prism API
Loading...
Returns a function that caches the result of the given supplier.