Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
A docs update for nqp::watchfile.
  • Loading branch information
jnthn committed Apr 21, 2014
1 parent c042626 commit 916eddb
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions docs/ops.markdown
Expand Up @@ -1828,8 +1828,10 @@ Cancel to stop handling it.
## watchfile
* `watchfile($queue, $schedulee, str $filename, $handle_type)`

Watches an individual file for changes. Pushes the schedulee to the queue
if a change is detected. Cancel to stop watching.
Watches an individual file for changes. Pushes the an array to the queue
when a change is detected, consisting of the schedulee, the filename that
changed if provided by the underlying watcher mechanism, a 0 if the file
changed, and a 1 if it was renamed. Cancel to stop watching.

## asyncconnect
* `asyncconnect($queue, $schedulee, str $host, int $port, $handle_type)`
Expand Down

0 comments on commit 916eddb

Please sign in to comment.