Up: Signals: The Reactive Core   [Contents]


4.3.1 Input vs. Output: What’s the difference?

If the passports look the same, why two types? Direction. An STInput is a story the service tells the Core—a temperature, a price, a door sensor. An STOutput is a request the Core makes of the service—turn the lamp on, open the valve, set the setpoint. Same shape, opposite ownership; the rest of the API simply mirrors that idea (see api-st-input, see api-st-output).