Many articles online demonstrates nodejs as an example of reactor pattern. Isn\'t it rather proactor?
As far as I understand, the difference between the two is:
The distinction has nothing to do with multithreading. It is as follows:
Node has both kinds of APIs, e.g. stream.ReadableStream#readable/stream.ReadableStream#read are a Reactor interface, while fs.readFile is a Proactor.