Skip to content

Guidance in exposing some APIs only off the main thread #360

@dontcallmedom

Description

@dontcallmedom

Following up on #325, which has already quite a bit of background on this:
is it appropriate to use non-exposure of an API on Window as a way to force developers to not do things on the main thread?

That question has emerged in WebCodecs, WebRTC Encoded Transform, Media Capture Transform, WebNN, File API.

Metadata

Metadata

Assignees

Labels

Agenda+Status: Consensus to writeWe have TAG consensus about the principle but someone needs to write it (see "To Write" project)Topic: JS

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions