flowGraphEventBlock.js 495 B

12345678910111213141516
  1. import { FlowGraphAsyncExecutionBlock } from "./flowGraphAsyncExecutionBlock.js";
  2. /**
  3. * @experimental
  4. * A type of block that listens to an event observable and activates
  5. * its output signal when the event is triggered.
  6. */
  7. export class FlowGraphEventBlock extends FlowGraphAsyncExecutionBlock {
  8. /**
  9. * @internal
  10. */
  11. _execute(context) {
  12. context._notifyExecuteNode(this);
  13. this.out._activateSignal(context);
  14. }
  15. }
  16. //# sourceMappingURL=flowGraphEventBlock.js.map