Preparing search index...
The search index is not available
libp2p
libp2p
@libp2p/utils
adaptive-timeout
AdaptiveTimeout
Class AdaptiveTimeout
Index
Constructors
constructor
Properties
failure
failure
Multiplier
metric?
min
Timeout
next
success
timeout
Multiplier
Methods
clean
Up
get
Timeout
Signal
Constructors
constructor
new
Adaptive
Timeout
(
init
?
)
:
AdaptiveTimeout
Parameters
init
:
AdaptiveTimeoutInit
= {}
Returns
AdaptiveTimeout
Properties
Private
Readonly
failure
failure
:
MovingAverage
Private
Readonly
failure
Multiplier
failure
Multiplier
:
number
Private
Optional
Readonly
metric
metric
?:
MetricGroup
<
any
>
Private
Readonly
min
Timeout
min
Timeout
:
number
Private
Readonly
next
next
:
MovingAverage
Private
Readonly
success
success
:
MovingAverage
Private
Readonly
timeout
Multiplier
timeout
Multiplier
:
number
Methods
clean
Up
clean
Up
(
signal
)
:
void
Parameters
signal
:
AdaptiveTimeoutSignal
Returns
void
get
Timeout
Signal
get
Timeout
Signal
(
options
?
)
:
AdaptiveTimeoutSignal
Parameters
options
:
GetTimeoutSignalOptions
= {}
Returns
AdaptiveTimeoutSignal
Settings
Member Visibility
Protected
Private
Inherited
External
Theme
OS
Light
Dark
On This Page
constructor
failure
failure
Multiplier
metric
min
Timeout
next
success
timeout
Multiplier
clean
Up
get
Timeout
Signal
libp2p
Loading...