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
* @deprecated Reads return the store-derived link id. Assigning null
25
-
* disconnects through the store; assigning an id is ignored. First-party
26
-
* code uses the slotLinks helpers and node topology methods.
27
+
* disconnects through the store; assigning that id again restores the
28
+
* observed topology when it is still valid.
27
29
*/
28
30
getlink(): LinkId|null{
29
31
warnDeprecated(
30
32
'input.link is deprecated. Read connectivity via node.isInputConnected(slot) / node.getInputLink(slot); mutate via node.connect() / node.disconnectInput().'
31
33
)
32
-
returnlinkIdOf(this)
34
+
constlink=linkOf(this)
35
+
if(link)this.legacyLink=link
36
+
returnlink?.id??null
33
37
}
34
38
35
39
setlink(value: LinkId|null){
36
40
warnDeprecated(
37
41
'Assignment to input.link is deprecated; null disconnects through the link store. Mutate via node.connect() / node.disconnectInput().'
0 commit comments