Search
Preparing search index...
The search index is not available
Electron Forge
Options
All
Public
Public/Protected
All
Inherited
Menu
Electron Forge
@electron-forge/plugin-webpack
InternalOptions
AsyncHook
Class AsyncHook<T, R, AdditionalOptions>
Type parameters
T
R
AdditionalOptions =
UnsetAdditionalOptions
Hierarchy
Hook
<
T
,
R
,
AdditionalOptions
>
AsyncHook
AsyncSeriesHook
AsyncParallelHook
AsyncSeriesBailHook
AsyncSeriesWaterfallHook
Index
Constructors
constructor
Properties
name
taps
Methods
call
Async
intercept
is
Used
promise
tap
tap
Async
tap
Promise
with
Options
Constructors
constructor
new
Async
Hook
<
T
,
R
,
AdditionalOptions
>
(
args
?:
FixedSizeArray
<
AsArray
<
T
>
[
"length"
]
,
string
>
, name
?:
string
)
:
AsyncHook
<
T
,
R
,
AdditionalOptions
>
Type parameters
T
R
AdditionalOptions =
UnsetAdditionalOptions
Parameters
Optional
args:
FixedSizeArray
<
AsArray
<
T
>
[
"length"
]
,
string
>
Optional
name:
string
Returns
AsyncHook
<
T
,
R
,
AdditionalOptions
>
Properties
name
name
:
undefined
|
string
taps
taps
:
FullTap
[]
Methods
call
Async
call
Async
(
...
args
:
Append
<
AsArray
<
T
>
,
Callback
<
Error
,
R
>
>
)
:
void
Parameters
Rest
...
args:
Append
<
AsArray
<
T
>
,
Callback
<
Error
,
R
>
>
Returns
void
intercept
intercept
(
interceptor
:
HookInterceptor
<
T
,
R
,
AdditionalOptions
>
)
:
void
Parameters
interceptor:
HookInterceptor
<
T
,
R
,
AdditionalOptions
>
Returns
void
is
Used
is
Used
(
)
:
boolean
Returns
boolean
promise
promise
(
...
args
:
AsArray
<
T
>
)
:
Promise
<
R
>
Parameters
Rest
...
args:
AsArray
<
T
>
Returns
Promise
<
R
>
tap
tap
(
options
:
string
|
(
TapOptions
&
{
name
:
string
}
&
IfSet
<
AdditionalOptions
>
)
, fn
:
(
...
args
:
AsArray
<
T
>
)
=>
R
)
:
void
Parameters
options:
string
|
(
TapOptions
&
{
name
:
string
}
&
IfSet
<
AdditionalOptions
>
)
fn:
(
...
args
:
AsArray
<
T
>
)
=>
R
(
...
args
:
AsArray
<
T
>
)
:
R
Parameters
Rest
...
args:
AsArray
<
T
>
Returns
R
Returns
void
tap
Async
tap
Async
(
options
:
string
|
(
TapOptions
&
{
name
:
string
}
&
IfSet
<
AdditionalOptions
>
)
, fn
:
(
...
args
:
Append
<
AsArray
<
T
>
,
InnerCallback
<
Error
,
R
>
>
)
=>
void
)
:
void
Parameters
options:
string
|
(
TapOptions
&
{
name
:
string
}
&
IfSet
<
AdditionalOptions
>
)
fn:
(
...
args
:
Append
<
AsArray
<
T
>
,
InnerCallback
<
Error
,
R
>
>
)
=>
void
(
...
args
:
Append
<
AsArray
<
T
>
,
InnerCallback
<
Error
,
R
>
>
)
:
void
Parameters
Rest
...
args:
Append
<
AsArray
<
T
>
,
InnerCallback
<
Error
,
R
>
>
Returns
void
Returns
void
tap
Promise
tap
Promise
(
options
:
string
|
(
TapOptions
&
{
name
:
string
}
&
IfSet
<
AdditionalOptions
>
)
, fn
:
(
...
args
:
AsArray
<
T
>
)
=>
Promise
<
R
>
)
:
void
Parameters
options:
string
|
(
TapOptions
&
{
name
:
string
}
&
IfSet
<
AdditionalOptions
>
)
fn:
(
...
args
:
AsArray
<
T
>
)
=>
Promise
<
R
>
(
...
args
:
AsArray
<
T
>
)
:
Promise
<
R
>
Parameters
Rest
...
args:
AsArray
<
T
>
Returns
Promise
<
R
>
Returns
void
with
Options
with
Options
(
options
:
TapOptions
&
IfSet
<
AdditionalOptions
>
)
:
Omit
<
AsyncHook
<
T
,
R
,
AdditionalOptions
>
,
"promise"
|
"call"
|
"callAsync"
>
Parameters
options:
TapOptions
&
IfSet
<
AdditionalOptions
>
Returns
Omit
<
AsyncHook
<
T
,
R
,
AdditionalOptions
>
,
"promise"
|
"call"
|
"callAsync"
>
All Modules
Makers
maker-appx
maker-deb
maker-dmg
maker-flatpak
maker-pkg
maker-rpm
maker-snap
maker-squirrel
maker-wix
maker-zip
Plugins
plugin-auto-unpack-natives
plugin-base
plugin-electronegativity
plugin-fuses
plugin-local-electron
plugin-vite
plugin-webpack
Publishers
publisher-base
publisher-bitbucket
publisher-electron-release-server
publisher-gcs
publisher-github
publisher-nucleus
publisher-s3
publisher-snapcraft
publisher-static
Templates
template-base
template-vite
template-vite-typescript
template-webpack
template-webpack-typescript
Utils & Internal Helpers
core
core-utils
maker-base
shared-types
test-utils
tracer
web-multi-logger