Наши волонтёры ещё не перевели данную статью на Русский. Присоединяйтесь к нам и помогите сделать эту работу!
Вы можете также прочитать эту статью на English (US).

The Transferable interface represents an object that can be transfered between different execution contexts, like the main thread and Web workers.

This is an abstract interface and there is no object of this type. This interface does not define any method or property; it is merely a tag indicating objects that can be used in specific conditions, such as being transfered to a Worker using the Worker.postMessage() method.

The ArrayBuffer, MessagePort and ImageBitmap types implement this interface.

Properties

The Transferable interface does not implement or inherit specific properties.

Methods

The Transferable interface does not implement or inherit specific properties.

Specifications

Specification Status Comment
HTML Living Standard
The definition of 'Transferable' in that specification.
Living Standard No change from HTML5, though the new CanvasProxy does implement Transferable.
HTML5
The definition of 'Transferable' in that specification.
Recommendation Initial definition.

Browser compatibility

FeatureChromeEdgeFirefoxInternet ExplorerOperaSafari
Basic support Yes Yes4101 Yes Yes
FeatureAndroid webviewChrome for AndroidEdge mobileFirefox for AndroidOpera AndroidiOS SafariSamsung Internet
Basic support Yes Yes Yes4 Yes Yes ?

1. Internet Explorer 10 only accepts a single Transferable object as parameter, but not an array.

See also

Метки документа и участники

Внесли вклад в эту страницу: fscholz, Loadmaster, gagern, GrantSolar, hunan-rostomyan, teoli, MHasan, derekenos
Обновлялась последний раз: fscholz,