Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
Document X::Proc::Async::AlreadyStarted
- Loading branch information
Showing
2 changed files
with
22 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,17 @@ | ||
| =begin pod | ||
| =TITLE class X::Proc::Async::AlreadyStarted | ||
| =SUBTITLE Exception for when you call C<start> on an already started Proc::Async object | ||
| class X::Proc::Async::AlreadyStarted is Exception { ... } | ||
| When you call C<start> twice on the same L<Proc::Async|/type/Proc::Async> | ||
| object, the second invocation will die with an | ||
| C<X::Proc::Async::AlreadyStarted> exception. | ||
| my $proc = Proc::Async.new("echo"); | ||
| $proc.start; | ||
| $proc.start; # Process has already been started | ||
| =end pod |