Search
Preparing search index...
The search index is not available
@jerryc/method-fuse
Options
All
Public
Public/Protected
All
Inherited
Externals
Only exported
Menu
Globals
MethodFuse
Class MethodFuse
Hierarchy
MethodFuse
Index
Constructors
constructor
Properties
breaked
breaking
Time
cool
Down
Time
cur
Load
max
Load
name
reset
Timer
Methods
proxy
reset
reset
After
Constructors
constructor
new
Method
Fuse
(
params
?:
MethodFuseOptions
)
:
MethodFuse
Parameters
Default value
params:
MethodFuseOptions
= {}
Returns
MethodFuse
Properties
Private
breaked
breaked
:
boolean
= false
Private
breaking
Time
breaking
Time
:
number
= 5000
Private
cool
Down
Time
cool
Down
Time
:
number
= 1000
Private
cur
Load
cur
Load
:
number
= 0
Private
max
Load
max
Load
:
number
= 3
Private
name
name
:
string
= "unnamed"
Private
reset
Timer
reset
Timer
:
any
= null
Methods
proxy
proxy
(
originMethod
:
(
...
any
:
any
[]
)
=>
Promise
<
any
>
)
:
(Anonymous function)
Parameters
originMethod:
(
...
any
:
any
[]
)
=>
Promise
<
any
>
(
...
any
:
any
[]
)
:
Promise
<
any
>
Parameters
Rest
...
any:
any
[]
Returns
Promise
<
any
>
Returns
(Anonymous function)
reset
reset
(
)
:
void
Returns
void
reset
After
reset
After
(
ms
:
any
)
:
void
Parameters
ms:
any
Returns
void
Globals
Method
Fuse
constructor
breaked
breaking
Time
cool
Down
Time
cur
Load
max
Load
name
reset
Timer
proxy
reset
reset
After
Method
Fuse
Options
logger
method
Fuse
Generated using
TypeDoc