streams

package
v0.8.0 Latest Latest
Warning

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

Go to latest
Published: Jul 3, 2025 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GetReaderOption

type GetReaderOption func()

type ReadResult

type ReadResult struct {
	Value []byte
	Done  bool
}

ReadResult represents the result of calling the browser function ReadableStream.read

type ReadableStream

type ReadableStream interface {
	GetReader(...GetReaderOption) Reader
}

type ReadableStreamDefaultReader

type ReadableStreamDefaultReader interface{ Reader }

type Reader

type Reader interface {
	Read() promise.Promise[ReadResult]
}

Jump to

Keyboard shortcuts

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