diff --git a/System/Channel.php b/System/Channel.php index 8e3c764f..e8cc7e4e 100644 --- a/System/Channel.php +++ b/System/Channel.php @@ -28,6 +28,7 @@ class Channel extends Component */ public function push(mixed $value, string $name = ''): void { + return; $channel = $this->channelInit($name); $channel->enqueue($value); } @@ -73,6 +74,7 @@ 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.'); }