Skip to content

Commit 2cb6637

Browse files
committed
Revamp the API surface
There are two major motivations for this change: * Splitting translation and language detection into separate APIs, to reflect what we've learned from prototyping. * Aligning better with other built-in API proposals, including future ones, by using shared patterns. This notably removes translation from an unknown source language, closing #1. It also adds AbortSignals and destroy() methods. This also removes the tentative proposal for language tag handling, instead pointing to discussions in #11.
1 parent 08010af commit 2cb6637

File tree

2 files changed

+225
-160
lines changed

2 files changed

+225
-160
lines changed

0 commit comments

Comments
 (0)