Function ecs_run_aperiodic


#include <include/flecs.h>

FLECS_API void ecs_run_aperiodic(ecs_world_t *world, ecs_flags32_t flags)


Force aperiodic actions. The world may delay certain operations until they are necessary for the application to function correctly. This may cause observable side effects such as delayed triggering of events, which can be inconvenient when for example running a test suite.

The flags parameter specifies which aperiodic actions to run. Specify 0 to run all actions. Supported flags start with 'EcsAperiodic'. Flags identify internal mechanisms and may change unannounced.


world - The world.

flags - The flags specifying which actions to run.


Line 1472 in include/flecs.h.