openai-async/lib/Net/Async/xLM/API/Server/Stream.pm
Ryan Voots 1f188e3ceb
Some checks failed
ci/woodpecker/push/author-tests/1 Pipeline failed
ci/woodpecker/push/author-tests/4 Pipeline failed
ci/woodpecker/push/author-tests/2 Pipeline failed
ci/woodpecker/push/author-tests/3 Pipeline failed
Naive regex replacement, needs examining for correctness
2024-12-18 11:11:10 -05:00

23 lines
No EOL
353 B
Perl

package Net::Async::xLM::API::Server::Stream;
use v5.36;
use Object::Pad;
class Net::Async::xLM::API::Server::Stream {
use Future::Queue;
# TODO what to do for non-io async setups, long term
field $io_stream :param;
async method send_headers() {
}
async method send_event($event_data) {
}
async method finish() {
}
}