diff --git a/System/Channel.php b/System/Channel.php index e8cc7e4e..8e3c764f 100644 --- a/System/Channel.php +++ b/System/Channel.php @@ -28,7 +28,6 @@ class Channel extends Component */ public function push(mixed $value, string $name = ''): void { - return; $channel = $this->channelInit($name); $channel->enqueue($value); } @@ -74,7 +73,6 @@ class Channel extends Component */ public function pop(string $name, Closure $closure, int|float $timeout = null): mixed { - return call_user_func($closure); if (($channel = $this->channelInit($name)) == false) { return $this->addError('Channel is full.'); }