Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrInvalidStream = bridge.NewJSTypeError("StreamError", "not a valid readable stream") ErrInvalidReadingResult = bridge.NewJSTypeError("StreamError", "invalid reading result: either data returned as null, non-object, or invalid object") )
Functions ¶
Types ¶
type ReadableStream ¶
type ReadableStream struct {
// contains filtered or unexported fields
}
func NewReadableStream ¶
func NewReadableStream(jsReadableStream js.Value) (*ReadableStream, error)
Click to show internal directories.
Click to hide internal directories.