MCPcopy Create free account
hub / github.com/nodejs/node-addon-api / ConvertibleContext

Class ConvertibleContext

napi.h:2982–2988  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2980 napi_status Abort() const;
2981
2982 struct ConvertibleContext {
2983 template <class T>
2984 operator T*() {
2985 return static_cast<T*>(context);
2986 }
2987 void* context;
2988 };
2989
2990 // This API may be called from any thread.
2991 ConvertibleContext GetContext() const;

Callers 1

GetContextMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected