… | |
… | |
788 | |
788 | |
789 | =item $coro->join |
789 | =item $coro->join |
790 | |
790 | |
791 | Wait until the coro terminates and return any values given to the |
791 | Wait until the coro terminates and return any values given to the |
792 | C<terminate> or C<cancel> functions. C<join> can be called concurrently |
792 | C<terminate> or C<cancel> functions. C<join> can be called concurrently |
793 | from multiple coro, and all will be resumed and given the status |
793 | from multiple threads, and all will be resumed and given the status |
794 | return once the C<$coro> terminates. |
794 | return once the C<$coro> terminates. |
795 | |
795 | |
796 | =cut |
796 | =cut |
797 | |
797 | |
798 | sub join { |
798 | sub join { |