You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
See original proposal in this comment
But instead lock / unlock perhaps better to use save / restore names
// save prev flowconstcurrFlow=this.currentFlow;currFlow.save();// Fork and implicitly set this.currentFlow to this forkvartrueBranchFlow=currFlow.toBranch(prevFlow,condExpr,ConditionKind.True);// do some work with `someFlow`currFlow.restore();// release trueBranchFlow's locals and restore previous flow