« parallel\Runtime::run parallel\Future::cancel » PHP Manual Parallel The parallel\Future class The parallel\Future class (0.8.0) 类摘要 final parallel\Future { /* Resolution */ public value ( void ) : mixed /* State */ public cancelled ( void ) : bool public done ( void ) : bool /* Cancellation */ public cancel ( void ) : bool } Table of Contents parallel\Future::cancel — Cancellation parallel\Future::cancelled — State Detection parallel\Future::done — State Detection parallel\Future::value — Resolution