Runtime - lms-org/lms GitHub Wiki

A runtime is an execution path holding its own data channels, modules and module dependencies. Runtimes are usually excuted in their own thread but can be executed on the main thread as well.

Defining Runtimes

Modules defined in XML configs are usually assigned to a runtime called 'default'. To create another runtime one must use the <runtime>-tag like this:

<runtime name="render" src="render.xml" />

All definitions defined in render.xml will be assigned to the render runtime.

Main Thread Runtimes

To execute modules use the <mainThread /> tag:

<framework>
  <execution>
    <mainThread />
  </execution>
</framework>
⚠️ **GitHub.com Fallback** ⚠️