Setting the file. One moment.
Subchapter 18.53
references/tryOnScopeDispose.mdMarkdown492 BView on GitHub
Safe onScopeDispose. Call onScopeDispose() if it’s inside an effect scope lifecycle, if not, do nothing
import { tryOnScopeDispose } from '@vueuse/core'
tryOnScopeDispose(() => {
})/**
* Call onScopeDispose() if it's inside an effect scope lifecycle, if not, do nothing
*
* @param fn
*/
export declare function tryOnScopeDispose(
fn: Fn,
failSilently?: boolean,
): boolean