/**
* @inheritdoc
*/
public function waitForBasicReturn(float $timeout = 0.0)
{
try {
$this->channel->waitForBasicReturn($timeout);
} catch (\AMQPChannelException $e) {
throw ChannelException::fromAmqpExtension($e);
} catch (\AMQPQueueException $e) {
throw ChannelException::fromAmqpExtension($e);
}
}