()
| 1863 | } |
| 1864 | |
| 1865 | export function isAlreadyRendering(): boolean { |
| 1866 | // Used by the renderer to print a warning if certain APIs are called from |
| 1867 | // the wrong context, and for profiling warnings. |
| 1868 | return (executionContext & (RenderContext | CommitContext)) !== NoContext; |
| 1869 | } |
| 1870 | |
| 1871 | export function isInvalidExecutionContextForEventFunction(): boolean { |
| 1872 | // Used to throw if certain APIs are called from the wrong context. |
no outgoing calls
no test coverage detected