Future callback is not invoked if promise gets resolved before it was hooked: ```cpp Promise<int> p; p.resolve(5); p.future().then([](auto a) { std::cout << "a: " << a << std::endl; // does not print anything }); ```