ixfx
Preparing search index...
@ixfx/rx
CacheStream
Type Alias CacheStream<T>
A stream that caches its last value
type
CacheStream
<
T
>
=
{
last
:
()
=>
T
|
undefined
;
resetCachedValue
:
()
=>
void
;
}
Type Parameters
T
Index
Properties
last
reset
Cached
Value
Properties
last
last
:
()
=>
T
|
undefined
Gets the cached value, if available
Type declaration
()
:
T
|
undefined
Returns
T
|
undefined
reset
Cached
Value
resetCachedValue
:
()
=>
void
Clears the last cached value
Type declaration
()
:
void
Returns
void
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Properties
last
reset
Cached
Value
ixfx
Loading...
A stream that caches its last value