Skip to content

Commit 20eff15

Browse files
authored
Clarify create algorithm description parameters (#99)
requireTransientActivation is a parameter to the "create an AI model object" algorithm, not a parameter to the create algorithm that must be passed to it.
1 parent 93ce492 commit 20eff15

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

index.bs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1778,7 +1778,8 @@ Every [=interface=] [=interface/including=] the {{DestroyableModel}} interface m
17781778
* an algorithm |getAvailability| taking an [=ordered map=] and returning an {{Availability}} or null,
17791779
* an algorithm |startDownload| taking an [=ordered map=] and returning a boolean,
17801780
* an algorithm |initialize| taking an [=ordered map=] and returning an error information or null, and
1781-
* an algorithm |create| taking a [=ECMAScript/realm=], an [=ordered map=] and an optional boolean |requireTransientActivation| (default true) and returning a Web IDL object representing the model,
1781+
* an algorithm |create| taking a [=ECMAScript/realm=], an [=ordered map=] and returning a Web IDL object representing the model, and
1782+
* an optional boolean |requireTransientActivation| (default true).
17821783

17831784
perform the following steps:
17841785

0 commit comments

Comments
 (0)