Skip to content
Ulric Wilfred edited this page Jan 31, 2015 · 2 revisions

Description

Represents the Link between the Outlet and Inlet.

Events

  • 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}

Methods

instance

  • 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;

Examples

Clone this wiki locally