Skip to main content

executeAsync

Summary

Execute a function with error boundary protection.

Signature

Parameters

operation

Type:() => Promise<T> The function to execute

context

Type: Optional: Yes Context information for error reporting

fallback

Type:() => Promise<T> Optional: Yes Optional fallback function to try on error

Returns

Type: Execute a function with error boundary protection.