@kayahr/signal
Preparing search index...
signal
ResourceLoader
Type Alias ResourceLoader<S, T>
ResourceLoader
:
(
source
:
S
,
abortSignal
:
AbortSignal
)
=>
T
|
Promise
<
T
>
Loads a resource value from the current source state.
Type Parameters
S
T
Type Declaration
(
source
:
S
,
abortSignal
:
AbortSignal
)
:
T
|
Promise
<
T
>
Parameters
source
:
S
abortSignal
:
AbortSignal
Returns
T
|
Promise
<
T
>
Settings
Member Visibility
Protected
Inherited
Theme
OS
Light
Dark
@kayahr/signal
Loading...
Loads a resource value from the current source state.