napi-rs/examples/napi/__tests__/tsfn-error.cjs

4 lines
114 B
JavaScript
Raw Normal View History

const { threadsafeFunctionFatalModeError } = require('../index.node')
threadsafeFunctionFatalModeError(() => {})