We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 633c47d commit d2eeea5Copy full SHA for d2eeea5
napi.h
@@ -776,13 +776,15 @@ namespace Napi {
776
777
class Function : public Object {
778
public:
779
- // Callable must implement operator() accepting a const CallbackInfo&
780
- // and return either void or Value.
+ /// Callable must implement operator() accepting a const CallbackInfo&
+ /// and return either void or Value.
781
template <typename Callable>
782
static Function New(napi_env env,
783
Callable cb,
784
const char* utf8name = nullptr,
785
void* data = nullptr);
786
787
788
789
790
0 commit comments