$callback The synchronized callback to invoke. * The callback may be a regular function or a coroutine. * * @return \Generator * * @resolve mixed The return value of $callback. */ public function synchronized(callable $callback); }