abortcontroller

package
v1.4.0 Latest Latest
Warning

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

Go to latest
Published: Mar 31, 2022 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrNotAnAbortController = errors.New("The given value must be an AbortController")
	ErrNotImplemented       = errors.New("Browser not implemented AbortController")
)

Functions

func GetInterface

func GetInterface() js.Value

GetInterface get the JS interface abortcontroller

Types

type AbortController

type AbortController struct {
	baseobject.BaseObject
}

AbortController struct

func New

func New() (AbortController, error)

func NewFromJSObject

func NewFromJSObject(obj js.Value) (AbortController, error)

func (AbortController) Abort

func (a AbortController) Abort() error

func (AbortController) AbortController_

func (a AbortController) AbortController_() AbortController

func (AbortController) Signal

type AbortControllerFrom

type AbortControllerFrom interface {
	AbortController_() AbortController
}

Jump to

Keyboard shortcuts

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