napi_threadsafe_function_call_mode
传递给 napi_call_threadsafe_function() 的一个值,用于指示当与线程安全函数关联的队列已满时调用是否应阻塞。
【A value to be given to napi_call_threadsafe_function() to indicate whether
the call should block whenever the queue associated with the thread-safe
function is full.】
typedef enum {
napi_tsfn_nonblocking,
napi_tsfn_blocking
} napi_threadsafe_function_call_mode;