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
SyncBailHook
Class SyncBailHook<T, R, AdditionalOptions>
Type parameters
T
R
AdditionalOptions =
UnsetAdditionalOptions
Hierarchy
SyncHook
<
T
,
R
,
AdditionalOptions
>
SyncBailHook
Index
Constructors
constructor
Properties
name
taps
Methods
call
call
Async
intercept
is
Used
promise
tap
with
Options
Constructors
constructor
new
Sync
Bail
Hook
<
T
,
R
,
AdditionalOptions
>
(
args
?:
FixedSizeArray
<
AsArray
<
T
>
[
"length"
]
,
string
>
, name
?:
string
)
:
SyncBailHook
<
T
,
R
,
AdditionalOptions
>
Type parameters
T
R
AdditionalOptions =
UnsetAdditionalOptions
Parameters
Optional
args:
FixedSizeArray
<
AsArray
<
T
>
[
"length"
]
,
string
>
Optional
name:
string
Returns
SyncBailHook
<
T
,
R
,
AdditionalOptions
>
Properties
name
name
:
undefined
|
string
taps
taps
:
FullTap
[]
Methods
call
call
(
...
args
:
AsArray
<
T
>
)
:
R
Parameters
Rest
...
args:
AsArray
<
T
>
Returns
R
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
with
Options
with
Options
(
options
:
TapOptions
&
IfSet
<
AdditionalOptions
>
)
:
Omit
<
SyncBailHook
<
T
,
R
,
AdditionalOptions
>
,
"promise"
|
"call"
|
"callAsync"
>
Parameters
options:
TapOptions
&
IfSet
<
AdditionalOptions
>
Returns
Omit
<
SyncBailHook
<
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