workflow.node_2.bind.md
January 18, 2023 ยท View on GitHub
Home > @datashaper/workflow > Node_2 > bind
Node_2.bind() method
Binds an input socket to an upstream node
Signature:
bind(binding: NodeBinding<T> | VariadicNodeBinding<T>): void;
Parameters
| Parameter | Type | Description |
|---|---|---|
| binding | NodeBinding<T> | VariadicNodeBinding<T> | the node binding to apply. If an array, binds variadic input |
Returns:
void