mirror of
https://github.com/agentclientprotocol/claude-agent-acp.git
synced 2026-10-27 04:30:59 +00:00
Import streams for node:stream/web
Co-authored-by: Richard Feldman <oss@rtfeldman.com>
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
// A pushable async iterable: allows you to push items and consume them with for-await.
|
||||
|
||||
import { Readable, Writable } from "node:stream";
|
||||
import { WritableStream, ReadableStream } from "node:stream/web";
|
||||
|
||||
// Useful for bridging push-based and async-iterator-based code.
|
||||
export class Pushable<T> implements AsyncIterable<T> {
|
||||
|
||||
Reference in New Issue
Block a user