@nospamproxy/core
Preparing search index...
common/input/test-helpers
withGlobalErrorHandler
Function withGlobalErrorHandler
withGlobalErrorHandler
(
handler
:
ActivityErrorHandler
,
action
:
()
=>
void
|
Promise
<
void
>
,
)
:
Promise
<
void
>
Test helper for running an action while the specified global error handler is used.
Parameters
handler
:
ActivityErrorHandler
action
:
()
=>
void
|
Promise
<
void
>
Returns
Promise
<
void
>
Settings
Member Visibility
Protected
Inherited
Theme
OS
Light
Dark
@nospamproxy/core
Loading...
Test helper for running an action while the specified global error handler is used.