6 lines
136 B
JavaScript
6 lines
136 B
JavaScript
|
const bindings = require('../../index.node')
|
||
|
|
||
|
bindings.testThreadsafeFunction(() => {
|
||
|
throw Error('Throw in thread safe function')
|
||
|
})
|