assertNotInReactiveContext
function
Asserts that the current stack frame is not within a reactive context. Useful
to disallow certain code from running inside a reactive context (see toSignal
).
API
assertNotInReactiveContext( debugFn: Function, extraContext?: string): void;
Jump to details