static local_ref create()

in cxx/fbjni/JThread.h [44:47]


  static local_ref<JThread> create(std::function<void()>&& runnable, std::string&& name) {
    auto jrunnable = JNativeRunnable::newObjectCxxArgs(std::move(runnable));
    return newInstance(static_ref_cast<JRunnable>(jrunnable), make_jstring(std::move(name)));
  }