Skip to content

Commit

Permalink
feat: support thread_worker
Browse files Browse the repository at this point in the history
  • Loading branch information
林康 committed Sep 15, 2020
1 parent 6ccf882 commit 9bce6a6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/index.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,4 @@ void init(Local<Object> exports) {
Nan::GetFunction(Nan::New<FunctionTemplate>(insertWord)).ToLocalChecked());
}

NODE_MODULE(nodejieba, init)
NAN_MODULE_WORKER_ENABLED(nodejieba, init)

0 comments on commit 9bce6a6

Please sign in to comment.