mirror of
https://github.com/napi-rs/napi-rs.git
synced 2025-12-08 19:56:07 +00:00
6 lines
136 B
JavaScript
6 lines
136 B
JavaScript
const bindings = require('../../index.node')
|
|
|
|
bindings.testThreadsafeFunction(() => {
|
|
throw Error('Throw in thread safe function')
|
|
})
|