src/Db/Database.php
public function initComponent()
    {
        $promises = [];
        $schema = $this->getSchema();
        $promises[] = $schema->initComponent();
        return all($promises)->always(function() {
            $this->_initialized = true;
            if (!\Reaction::isConsoleApp()) {
                \Reaction::info('{class} initialized', ['class' => get_called_class()]);
            }
            return true;
        });
    }
public function initComponent()
    {
        $promises = [];
        $schema = $this->getSchema();
        $promises[] = $schema->initComponent();
        return all($promises)->always(function() {
            $this->_initialized = true;
            if (!\Reaction::isConsoleApp()) {
                \Reaction::info('{class} initialized', ['class' => get_called_class()]);
            }
            return true;
        });
    }
Init callback. Called by parent container/service/component on init and must return a fulfilled Promise
@return ExtendedPromiseInterface