flowGraphSignalConnection.d.ts 902 B

12345678910111213141516171819202122
  1. import type { FlowGraphExecutionBlock } from "./flowGraphExecutionBlock";
  2. import { FlowGraphConnection } from "./flowGraphConnection";
  3. import type { FlowGraphContext } from "./flowGraphContext";
  4. /**
  5. * @experimental
  6. * Represents a connection point for a signal.
  7. * When an output point is activated, it will activate the connected input point.
  8. * When an input point is activated, it will execute the block it belongs to.
  9. */
  10. export declare class FlowGraphSignalConnection extends FlowGraphConnection<FlowGraphExecutionBlock, FlowGraphSignalConnection> {
  11. /**
  12. * @internal
  13. * A signal input can be connected to more than one signal output,
  14. * but a signal output can only connect to one signal input
  15. * @returns true if the connection is singular
  16. */
  17. _isSingularConnection(): boolean;
  18. /**
  19. * @internal
  20. */
  21. _activateSignal(context: FlowGraphContext): void;
  22. }