Function yield_existing

Synopsis

#include <include/flecs/addons/cpp/mixins/observer/builder_i.hpp>

Base & yield_existing(bool value=true)

Description

Invoke observer for anything that matches its filter on creation

Source

Lines 39-42 in include/flecs/addons/cpp/mixins/observer/builder_i.hpp.

Base& yield_existing(bool value = true) {
    m_desc->yield_existing = value;
    return *this;
}