MCPcopy Create free account
hub / github.com/NativeScript/NativeScript / _suspendNativeUpdates

Function _suspendNativeUpdates

packages/core/ui/core/view-base/index.ts:762–768  ·  view source on GitHub ↗
(type: SuspendType)

Source from the content-addressed store, hash-verified

760 }
761
762 public _suspendNativeUpdates(type: SuspendType): void {
763 if (type) {
764 this._suspendNativeUpdatesCount = this._suspendNativeUpdatesCount | type;
765 } else {
766 this._suspendNativeUpdatesCount++;
767 }
768 }
769 public _resumeNativeUpdates(type: SuspendType): void {
770 if (type) {
771 this._suspendNativeUpdatesCount = this._suspendNativeUpdatesCount & ~type;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected