in cxx/fbjni/JThread.h [39:42]
static local_ref<JThread> create(std::function<void()>&& runnable) { auto jrunnable = JNativeRunnable::newObjectCxxArgs(std::move(runnable)); return newInstance(static_ref_cast<JRunnable>(jrunnable)); }