annotations-design-patterns
Guías (ES)
Guides (EN)
Preparing search index...
public/operators
circuitBreakerWithHandle
Function circuitBreakerWithHandle
circuitBreakerWithHandle
<
This
,
Args
extends
readonly
unknown
[]
,
Result
>
(
options
:
CircuitBreakerOptions
<
This
,
Args
>
,
createOpenError
?:
()
=>
Error
,
)
:
{
operator
:
Operator
<
This
,
Args
,
Result
,
Result
>
;
handle
:
CircuitBreakerHandle
;
}
Creates a circuit breaker with factory-owned state and read/reset diagnostics.
Type Parameters
This
Args
extends
readonly
unknown
[]
Result
Parameters
options
:
CircuitBreakerOptions
<
This
,
Args
>
createOpenError
:
()
=>
Error
= ...
Returns
{
operator
:
Operator
<
This
,
Args
,
Result
,
Result
>
;
handle
:
CircuitBreakerHandle
}
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
Guías (ES)
Guides (EN)
annotations-design-patterns
Loading...
Creates a circuit breaker with factory-owned state and read/reset diagnostics.