Skip to main content
Module

x/oak_nest/mod.ts>ReadableStreamResult

Refer to nestjs to realize some common functions for Deno
Go to Latest
interface ReadableStreamResult
import { type ReadableStreamResult } from "https://deno.land/x/oak_nest@v1.15.0/mod.ts";

Methods

write(message: string): void

write message to stream, but it may cause error if the connection closed before

end(message?: string): void

write last message and end signal to stream, but it may cause error if the connection closed before