@laserware/stasis
GitHub
Preparing search index...
apply
Function apply
apply
<
Ctx
extends
{
[
P
in
string
]
:
(
this
:
Ctx
,
...
args
:
any
[]
)
=>
any
}
,
Name
extends
string
,
>
(
ctx
:
Ctx
,
fnName
:
Name
,
args
:
Parameters
<
Ctx
[
Name
]
>
,
)
:
CallEffect
<
SagaReturnType
<
Ctx
[
Name
]
>
>
Alias for
call([context, fn], ...args)
.
Type Parameters
Ctx
extends
{
[
P
in
string
]
:
(
this
:
Ctx
,
...
args
:
any
[]
)
=>
any
}
Name
extends
string
Parameters
ctx
:
Ctx
fnName
:
Name
args
:
Parameters
<
Ctx
[
Name
]
>
Returns
CallEffect
<
SagaReturnType
<
Ctx
[
Name
]
>
>
apply
<
Ctx
,
Fn
extends
(
this
:
Ctx
,
...
args
:
any
[]
)
=>
any
>
(
ctx
:
Ctx
,
fn
:
Fn
,
args
:
Parameters
<
Fn
>
,
)
:
CallEffect
<
SagaReturnType
<
Fn
>
>
Alias for
call([context, fn], ...args)
.
Type Parameters
Ctx
Fn
extends
(
this
:
Ctx
,
...
args
:
any
[]
)
=>
any
Parameters
ctx
:
Ctx
fn
:
Fn
args
:
Parameters
<
Fn
>
Returns
CallEffect
<
SagaReturnType
<
Fn
>
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
GitHub
@laserware/stasis
Loading...
Alias for
call([context, fn], ...args)
.