Resolves with the return value of $callback or fails if $callback * throws an exception. */ public function synchronized(callable $callback): Promise; /** * @return \Amp\Promise A promise for the value inside the parcel. */ public function unwrap(): Promise; }