| 94 | // (e.g., worker.terminate()), so callers should use UNWRAP_OR_RETURN, which |
| 95 | // checks for that case. |
| 96 | template <typename T> inline T* Unwrap(Napi::Value value) { |
| 97 | return T::Unwrap(value.As<Napi::Object>()); |
| 98 | } |
| 99 | |
| 100 | // Generates a random type tag when the addon is loaded. Type tags must not be |
| 101 | // hardcoded, because multiple copies (or even different versions) of the addon |
nothing calls this directly
no outgoing calls
no test coverage detected