View Source Skitter.BIS.ImmutableLocal (Skitter v0.5.3)

Strategy for stateless components.

This strategy can be used for stateless components. It expects a component to provide a react callback. When the component receives data, a worker on the current worker node is selected. The selected worker will call the react callback with the received data.

Component Properties

  • in ports: A single in port is required.
  • out ports: This strategy places no limitations on the out ports of the component.
  • callbacks:
    • react (required): Called for each incoming data element.
    • conf (optional): Called at deployment time. The result will be passed as config to each invocation of react.