Preparing search index...
The search index is not available
NewDash
NewDash
functional/functionWrapper
createFunctionWrapper
Function createFunctionWrapper
create
Function
Wrapper
<
T
,
G
>
(
runner
,
options
)
:
T
&
{
__wrap_global__
:
G
;
}
create function wrapper for sync/async function
Type Parameters
T
extends
Func
G
extends
unknown
Parameters
runner
:
T
options
:
WrapperOptions
<
T
,
G
>
Returns
T
&
{
__wrap_global__
:
G
;
}
Since
5.18.0
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
NewDash
Loading...
create function wrapper for sync/async function