-
Notifications
You must be signed in to change notification settings - Fork 45
Ref:Link
Ulric Wilfred edited this page Jan 31, 2015
·
2 revisions
Represents the Link between the Outlet and Inlet.
-
link/enable→()— fired when link was enabled;{link} -
link/disable→()— fired when link was disabled;{link} -
link/pass→(Any)— fired when value is passed through the link;{link, value} -
link/adapt→(Any, Any)— fired when a value was adapted by the link;{link, before, after}
-
link.pass(Any)— pass given value to a connected inlet; -
link.adapt(Any)⇒Any— adapt given value with adapter and return the result; -
link.enable()— enable this link; -
link.disable()— disable this link; -
link.disconnect()— disconnect link from outlet and inlet;