Notify the condition variable of success and set the result
final public function succeed( T $result, ): void;
T $result
void