deno.com

method internal.Duplex.prototype.write

Overload 1

#Duplex.prototype.write(
chunk: any,
encoding?: BufferEncoding,
cb?: (error:
Error
| null
| undefined
) => void
,
): boolean

Parameters #

#chunk: any
optional
#encoding: BufferEncoding
optional
#cb: (error:
Error
| null
| undefined
) => void

Return Type #

boolean

Overload 2

#Duplex.prototype.write(
chunk: any,
cb?: (error:
Error
| null
| undefined
) => void
,
): boolean

Parameters #

#chunk: any
optional
#cb: (error:
Error
| null
| undefined
) => void

Return Type #

boolean