roarr
roarr copied to clipboard
How is roarr non blocking?
Can someone please elaborate specifically what roarr is doing which would otherwise be considered a "blocking" operation?
@hulkish it's using nodejs streams to write out instead of console, and streams are non-blocking by nature (so the process doesn't need to wait for the log message to be written out to continue doing actual task at hand).
https://github.com/gajus/roarr/blob/main/src/factories/createNodeWriter.ts#L3-L24