Skip to content

Commit

Permalink
MultiChannelPipe: overwrite metadata on write
Browse files Browse the repository at this point in the history
  • Loading branch information
adamziel committed Jul 22, 2024
1 parent cc80840 commit ba47244
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pipes-unix.php
Original file line number Diff line number Diff line change
Expand Up @@ -389,6 +389,7 @@ public function write(string $data, $metadata = null) {
$this->channels[$current_channel] = new BufferPipe();
}

$this->metadata = $metadata;
return $this->channels[$current_channel]->write($data, $metadata);
}

Expand Down

0 comments on commit ba47244

Please sign in to comment.