Function ecs_run_aperiodic

Synopsis

#include <include/flecs.h>

FLECS_API void ecs_run_aperiodic(ecs_world_t *world, ecs_flags32_t flags)

Description

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.

Parameters

world - The world.

flags - The flags specifying which actions to run.

Source

Line 1472 in include/flecs.h.