enterUncancellable method

  1. @protected
void enterUncancellable()

Opens an uncancellable section on the owner: a rejectable cancellation arriving now is held until the section closes.

Sections nest, and every one of them is closed by leaveUncancellable.

Implementation

@protected
void enterUncancellable() => _owner.enterUncancellable();