electron-direct-ipc - v2.3.0
Preparing search index...
common/DirectIpcTypes
InvokeHandler
Type Alias InvokeHandler<T>
InvokeHandler
:
(
...
args
:
Parameters
<
T
[
keyof
T
]
>
,
)
=>
Promise
<
ReturnType
<
T
[
keyof
T
]
>
>
|
ReturnType
<
T
[
keyof
T
]
>
Handler function type for invoke/handle pattern
Type Parameters
T
extends
InvokeMap
=
InvokeMap
Type Declaration
(
...
args
:
Parameters
<
T
[
keyof
T
]
>
,
)
:
Promise
<
ReturnType
<
T
[
keyof
T
]
>
>
|
ReturnType
<
T
[
keyof
T
]
>
Parameters
...
args
:
Parameters
<
T
[
keyof
T
]
>
Returns
Promise
<
ReturnType
<
T
[
keyof
T
]
>
>
|
ReturnType
<
T
[
keyof
T
]
>
Settings
Member Visibility
Inherited
External
Theme
OS
Light
Dark
electron-direct-ipc - v2.3.0
Loading...
Handler function type for invoke/handle pattern