builder util runtime.Class.MemoLazy
Electron-Builder / builder-util-runtime / MemoLazy
Type Parameters¶
• S
• V
Constructors¶
new MemoLazy()¶
new MemoLazy<
S
,V
>(selector
,creator
):MemoLazy
<S
,V
>
Parameters¶
• selector
• creator
Returns¶
MemoLazy
<S
, V
>
Accessors¶
hasValue¶
get
hasValue():boolean
Returns¶
boolean
value¶
get
value():Promise
<V
>
set
value(value
):void
Parameters¶
• value: Promise
<V
>
Returns¶
Promise
<V
>