@uservane/browser: guardAsync
Function: guardAsync()
Section titled “Function: guardAsync()”guardAsync(
label,fn):void
Defined in: guard.ts:21
Async guard: runs fn, catches sync throws, and attaches .catch so
promise rejections never become unhandled rejections on the host.
Parameters
Section titled “Parameters”string
() => void | Promise<void>
Returns
Section titled “Returns”void