« parallel\Future::cancel parallel\Future::done » PHP Manual parallel\Future State Detection parallel\Future::cancelled (0.9.0) parallel\Future::cancelled — State Detection 说明 public parallel\Future::cancelled ( void ) : bool Shall indicate if the task was cancelled