Usermod examples

broken image

In the example above, the first promise got the asyncId 6 and the latter got asyncId 7.įurther, many manual pages do not provide examples.

broken image

There are two promises in the example above the promise created by Promise.resolve() and the promise returned by the call to then(). In this example, adding any actual hook function enabled the tracking of promises. I can run cat > test1 & manually before starting fswatch script, so this will actually work.

broken image

Fs.watch(dir, => /fd/0 didn't suppose to work on mac, so I was trying to use answer with named pipes.

broken image