`popen_handle:is_closed()` method
Open
Nobody has claimed this yet.
- Dominant language
- CSS
- Stars
- 15
- Forks
- 49
- Avg merge
- 1d 13h
- Merged PRs (30d)
- 3
Description
The new is_closed() method returns true if the popen handle is
closed, and false otherwise.
Usage example:
local ph = popen.new(<...>)
assert(ph:is_closed() == false)
...
ph:close()
assert(ph:is_closed() == true)
Requested by @ImeevMA in https://github.com/tarantool/tarantool/commit/5921a93d0b4b4ccf490e3561c144cbc9fc4e0c2e.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating the existing documentation for the popen handle and its related methods. Add an entry for is_closed() describing the true/false behavior and adapt the usage example from the issue; done when the method is documented consistently with the surrounding API.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- lua
- Domain
- documentation
- Issue type
- Documentation
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 55/100