Spec-Zone.ru › Angular

assertNotInReactiveContext

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)

Asserts the reactive context

API

function assertNotInReactiveContext(
  debugFn: Function,
  extraContext?: string | undefined,
): void;
@paramdebugFnFunction

a reference to the function making the assertion (used for the error message).

@paramextraContextstring | undefined
@returnsvoid

Super-powered by Google ©2010–2025.
Code licensed under an MIT-style License. Documentation licensed under CC BY 4.0.
https://angular.dev/api/core/assertNotInReactiveContext

Spec-Zone.ru

Настройки Оффлайн Что нового Помощь О нас
Spec-Zone .ru
спецификации, руководства, описания, API