{{>copyright comment="//"}} | |
#include "{{PROJECT_PATH}}/{{snake_case PROJECT_NAME}}.h" | |
#include <lib/async/cpp/task.h> | |
#include <lib/syslog/cpp/macros.h> | |
namespace {{snake_case PROJECT_NAME}} { | |
App::App(async_dispatcher_t* dispatcher) : dispatcher_(dispatcher) { | |
async::PostTask(dispatcher_, [] { FX_LOGS(INFO) << "Hello, Fuchsia! I'm {{snake_case PROJECT_NAME}}."; }); | |
} | |
} // namespace {{snake_case PROJECT_NAME}} |