Struct napi::threadsafe_function::ThreadSafeCallContext [−][src]
pub struct ThreadSafeCallContext<T: 'static> {
pub env: Env,
pub value: T,
}
Expand description
ThreadSafeFunction Context object
the value
is the value passed to call
method
Fields
env: Env
value: T