(type: SuspendType)
| 767 | } |
| 768 | } |
| 769 | public _resumeNativeUpdates(type: SuspendType): void { |
| 770 | if (type) { |
| 771 | this._suspendNativeUpdatesCount = this._suspendNativeUpdatesCount & ~type; |
| 772 | } else { |
| 773 | if ((this._suspendNativeUpdatesCount & SuspendType.IncrementalCountMask) === 0) { |
| 774 | throw new Error(`Invalid call to ${this}._resumeNativeUpdates`); |
| 775 | } |
| 776 | this._suspendNativeUpdatesCount--; |
| 777 | } |
| 778 | |
| 779 | if (!this._suspendNativeUpdatesCount) { |
| 780 | this.onResumeNativeUpdates(); |
| 781 | } |
| 782 | } |
| 783 | |
| 784 | /** |
| 785 | * Allow multiple updates to be performed on the instance at once. |
nothing calls this directly
no outgoing calls
no test coverage detected