- Preparing search index...
- The search index is not available
bun-types
Interface ReadableStreamDirectController
Hierarchy
- ReadableStreamDirectController
Methods
close
- close(error?: Error): void
-
Returns void
- close(error?: Error): void
-
Returns void
end
- end(): number | Promise<number>
-
Returns number | Promise<number>
- end(): number | Promise<number>
-
Returns number | Promise<number>
flush
- flush(): number | Promise<number>
-
Returns number | Promise<number>
- flush(): number | Promise<number>
-
Returns number | Promise<number>
start
- start(): void
-
Returns void
- start(): void
-
Returns void
write
- write(data: string | ArrayBuffer | ArrayBufferView): number | Promise<number>
-
Parameters
-
data: string | ArrayBuffer | ArrayBufferView
Returns number | Promise<number>
- write(data: string | ArrayBuffer | ArrayBufferView): number | Promise<number>
-
Parameters
-
data: string | ArrayBuffer | ArrayBufferView
Returns number | Promise<number>