Skip to content

@ralphschuler.webgl shader factory.<internal>.IDBTransaction

github-actions edited this page Nov 26, 2023 · 1 revision

Interface: IDBTransaction

@ralphschuler/webgl-shader-factory.<internal>.IDBTransaction

MDN Reference

Hierarchy

  • EventTarget

    IDBTransaction

Table of contents

Properties

Methods

Properties

db

Readonly db: IDBDatabase

Returns the transaction's connection.

MDN Reference

Defined in

node_modules/typescript/lib/lib.dom.d.ts:14102


durability

Readonly durability: IDBTransactionDurability

MDN Reference

Defined in

node_modules/typescript/lib/lib.dom.d.ts:14104


error

Readonly error: null | DOMException

If the transaction was aborted, returns the error (a DOMException) providing the reason.

MDN Reference

Defined in

node_modules/typescript/lib/lib.dom.d.ts:14110


mode

Readonly mode: IDBTransactionMode

Returns the mode the transaction was created with ("readonly" or "readwrite"), or "versionchange" for an upgrade transaction.

MDN Reference

Defined in

node_modules/typescript/lib/lib.dom.d.ts:14116


objectStoreNames

Readonly objectStoreNames: DOMStringList

Returns a list of the names of object stores in the transaction's scope. For an upgrade transaction this is all object stores in the database.

MDN Reference

Defined in

node_modules/typescript/lib/lib.dom.d.ts:14122


onabort

onabort: null | (this: IDBTransaction, ev: Event) => any

MDN Reference

Defined in

node_modules/typescript/lib/lib.dom.d.ts:14124


oncomplete

oncomplete: null | (this: IDBTransaction, ev: Event) => any

MDN Reference

Defined in

node_modules/typescript/lib/lib.dom.d.ts:14126


onerror

onerror: null | (this: IDBTransaction, ev: Event) => any

MDN Reference

Defined in

node_modules/typescript/lib/lib.dom.d.ts:14128

Methods

abort

abort(): void

Aborts the transaction. All pending requests will fail with a "AbortError" DOMException and all changes made to the database will be reverted.

MDN Reference

Returns

void

Defined in

node_modules/typescript/lib/lib.dom.d.ts:14134


addEventListener

addEventListener<K>(type, listener, options?): void

Type parameters

Name Type
K extends keyof IDBTransactionEventMap

Parameters

Name Type
type K
listener (this: IDBTransaction, ev: IDBTransactionEventMap[K]) => any
options? boolean | AddEventListenerOptions

Returns

void

Overrides

EventTarget.addEventListener

Defined in

node_modules/typescript/lib/lib.dom.d.ts:14143

addEventListener(type, listener, options?): void

Parameters

Name Type
type string
listener EventListenerOrEventListenerObject
options? boolean | AddEventListenerOptions

Returns

void

Overrides

EventTarget.addEventListener

Defined in

node_modules/typescript/lib/lib.dom.d.ts:14144


commit

commit(): void

MDN Reference

Returns

void

Defined in

node_modules/typescript/lib/lib.dom.d.ts:14136


dispatchEvent

dispatchEvent(event): boolean

Dispatches a synthetic event event to target and returns true if either event's cancelable attribute value is false or its preventDefault() method was not invoked, and false otherwise.

MDN Reference

Parameters

Name Type
event Event

Returns

boolean

Inherited from

EventTarget.dispatchEvent

Defined in

node_modules/typescript/lib/lib.dom.d.ts:8217


objectStore

objectStore(name): IDBObjectStore

Returns an IDBObjectStore in the transaction's scope.

MDN Reference

Parameters

Name Type
name string

Returns

IDBObjectStore

Defined in

node_modules/typescript/lib/lib.dom.d.ts:14142


removeEventListener

removeEventListener<K>(type, listener, options?): void

Type parameters

Name Type
K extends keyof IDBTransactionEventMap

Parameters

Name Type
type K
listener (this: IDBTransaction, ev: IDBTransactionEventMap[K]) => any
options? boolean | EventListenerOptions

Returns

void

Overrides

EventTarget.removeEventListener

Defined in

node_modules/typescript/lib/lib.dom.d.ts:14145

removeEventListener(type, listener, options?): void

Parameters

Name Type
type string
listener EventListenerOrEventListenerObject
options? boolean | EventListenerOptions

Returns

void

Overrides

EventTarget.removeEventListener

Defined in

node_modules/typescript/lib/lib.dom.d.ts:14146

Typescript Libraries

Modules

Namespaces

Clone this wiki locally