MCPcopy Create free account
hub / github.com/TruthHun/BookStack / cancellationPropagateFrom

Function cancellationPropagateFrom

static/word2md/mammoth.browser.js:5017–5029  ·  view source on GitHub ↗
(parent, flags)

Source from the content-addressed store, hash-verified

5015}
5016
5017function cancellationPropagateFrom(parent, flags) {
5018 if ((flags & 1) !== 0) {
5019 this._cancellationParent = parent;
5020 var branchesRemainingToCancel = parent._branchesRemainingToCancel;
5021 if (branchesRemainingToCancel === undefined) {
5022 branchesRemainingToCancel = 0;
5023 }
5024 parent._branchesRemainingToCancel = branchesRemainingToCancel + 1;
5025 }
5026 if ((flags & 2) !== 0 && parent._isBound()) {
5027 this._setBoundTo(parent._boundTo);
5028 }
5029}
5030
5031function bindingPropagateFrom(parent, flags) {
5032 if ((flags & 2) !== 0 && parent._isBound()) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected