method ready

Documentation for method ready assembled from the following types:

class Proc::Async

From Proc::Async

(Proc::Async) method ready

method ready(Proc::Async:D: --> Promise:D)

Returns a Promise that will be kept once the process has successfully started. Promise will be broken if the program fails to start.

Implementation-specific note: Starting from Rakudo 2018.04, the returned promise will hold the process id (PID).