jupyterlab-ipyflow 0.0.164 → 0.0.166

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/lib/index.js +6 -2
  2. package/package.json +1 -1
package/lib/index.js CHANGED
@@ -275,6 +275,7 @@ const connectToComm = (session, notebook) => {
275
275
  type: 'compute_exec_schedule',
276
276
  executed_cell_id: cell === null || cell === void 0 ? void 0 : cell.id,
277
277
  cell_metadata_by_id,
278
+ is_reactively_executing: isReactivelyExecuting,
278
279
  });
279
280
  };
280
281
  const onExecution = (cell, args) => {
@@ -406,7 +407,7 @@ const connectToComm = (session, notebook) => {
406
407
  }
407
408
  };
408
409
  comm.onMsg = (msg) => {
409
- var _a;
410
+ var _a, _b;
410
411
  const payload = msg.content.data;
411
412
  if (disconnected || !((_a = payload.success) !== null && _a !== void 0 ? _a : false)) {
412
413
  return;
@@ -432,7 +433,10 @@ const connectToComm = (session, notebook) => {
432
433
  readyMakerLinks = payload.ready_maker_links;
433
434
  cellPendingExecution = null;
434
435
  const exec_mode = payload.exec_mode;
435
- isReactivelyExecuting = isReactivelyExecuting || exec_mode === 'reactive';
436
+ isReactivelyExecuting =
437
+ isReactivelyExecuting ||
438
+ exec_mode === 'reactive' ||
439
+ ((_b = payload === null || payload === void 0 ? void 0 : payload.is_reactively_executing) !== null && _b !== void 0 ? _b : false);
436
440
  const flow_order = payload.flow_order;
437
441
  const exec_schedule = payload.exec_schedule;
438
442
  lastExecutionMode = exec_mode;
package/package.json CHANGED
@@ -67,5 +67,5 @@
67
67
  "extension": true,
68
68
  "outputDir": "../../core/ipyflow/resources/labextension/"
69
69
  },
70
- "version": "0.0.164"
70
+ "version": "0.0.166"
71
71
  }