Help us shape the future of Go! Take the 2026 Go Developer Survey

stream

package
v1.1.0-beta.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 23, 2026 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const ModuleName = "stream"

ModuleName is the CommonJS name of the Node.js stream compatibility module.

View Source
const PromisesModuleName = "stream/promises"

PromisesModuleName is the CommonJS name of the stream/promises module.

Variables

This section is empty.

Functions

func Load

func Load(vm *goja.Runtime, module *goja.Object)

Load registers the Node.js-compatible stream module (Readable, Writable, Duplex, Transform, PassThrough, pipeline, finished, ...).

func LoadPromises

func LoadPromises(vm *goja.Runtime, module *goja.Object)

LoadPromises registers the stream/promises module with Promise-based pipeline and finished helpers.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL