polyfill

package
v0.0.0-...-5ee457c Latest Latest
Warning

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

Go to latest
Published: Mar 19, 2023 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const (
	RuntimeFetchEventInstanceSymbol = "__runtimeFetchEventInstance"
	RuntimeRequestInstanceSymbol    = "__runtimeRequestInstance"
	RuntimeResponseInstanceSymbol   = "__runtimeResponseInstance"
)

Variables

View Source
var PolyfillFS embed.FS

Functions

This section is empty.

Types

type RuntimeSymbols

type RuntimeSymbols struct {
	// contains filtered or unexported fields
}

func PolyfillRuntime

func PolyfillRuntime(eventLoop *eventloop.EventLoop) (s *RuntimeSymbols, err error)

func (*RuntimeSymbols) FetchEvent

func (r *RuntimeSymbols) FetchEvent() *goja.Object

func (*RuntimeSymbols) FetchEventPrototype

func (r *RuntimeSymbols) FetchEventPrototype() *goja.Object

func (*RuntimeSymbols) Headers

func (r *RuntimeSymbols) Headers() goja.Constructor

func (*RuntimeSymbols) Request

func (r *RuntimeSymbols) Request() *goja.Object

func (*RuntimeSymbols) RequestPrototype

func (r *RuntimeSymbols) RequestPrototype() *goja.Object

func (*RuntimeSymbols) Response

func (r *RuntimeSymbols) Response() *goja.Object

func (*RuntimeSymbols) ResponsePrototype

func (r *RuntimeSymbols) ResponsePrototype() *goja.Object

Jump to

Keyboard shortcuts

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