waits for one of the specified descriptors to become ready
block(timeout, pipe ...)
maximum amount of time to wait, 0 for forever
file descriptors of one or more open pipe ends
Important: The process package has been deprecated. Use the superseding package Threads instead.
The block function will wait the specified amount of time, or forever if 0 is specified, for one of the specified pipe ends to have data for reading, or space for writing.
The block function returns a list of those descriptors that have become ready. This list will usually contain only one descriptor.
If no pipe end has become ready by the time the timeout period has elapsed, block returns FAIL.
The command with(process,block) allows the use of the abbreviated form of this command.
Download Help Document
What kind of issue would you like to report? (Optional)