Atomic Designer V5 operates on a lightweight operating system, built around the concept of a time scheduler.
The principle is that an action should only take a short time, on the order of milliseconds.
An action can be scheduled with the scheduler via the Event interface. The main function calls are:
wireEventPost( context, delay, unit, function, function-context );
wireEventKill( context, function, function-context);
Planned actions can be overridden by a new event call with the same function name and context.
Planned functions can be removed bij killing the event with the specified function name and context.
Since components may be used multiple instances in a project, the planned actions do not influence each other because of different contexts.
Functions with the correct prototype can invoke themselves via the Event interface, allowing, for example, an LED to be toggled on and off.
In this way, components that use the event interface become components that execute a process.