Home > rc-js-util > IDebugProtectedView
Factory for creating proxy objects that can be invalidated later. Once invalidated any property read that wasn’t explicitly marked safe will cause a debug error. Available in debug contexts only.
Signature:
export interface IDebugProtectedView
| Property | Modifiers | Type | Description |
|---|---|---|---|
| owningInstance | IEmscriptenWrapper<object> |
| Method | Description |
|---|---|
| createProtectedView(view) | Create a proxy to the view, if invalidate called then access of non safeKeys will cause a debug error. |
| invalidate() | Invalidates all previous views. |