Orange.Runtime (orange v0.1.0)
The runtime module is responsible for rendering the UI components. The runtime consists of multiple components:
Orange.Runtime.RenderLoop
: UI rendering loop, implemented as a GenServer. Re-render is triggered in these cases: a. Receive events from the event poller b. Receive state update requests from update callbacksOrange.Runtime.EventManager
: manages event subscriptions and dispatches events to the subscribed componentsOrange.Runtime.EventPoller
: polls for events from the terminal and sends to the render loop
Summary
Functions
Link to this function
focus(component_id)
Link to this function
start(root)
Link to this function
stop()
Link to this function
subscribe(component_id)
Link to this function
unfocus(component_id)
Link to this function