-
Notifications
You must be signed in to change notification settings - Fork 180
Open
Description
What is the issue with the Web IDL Standard?
w3c/wot-scripting-api#578 (comment) raised a question of the new usage of snake_case. I think for async_iterable as a declaration it's ok-ish as there are no precedents of multi-word keyword there (only modifiers like readonly), but for async_sequence as a type certainly has PascalCase precedents - DOMString and its string friends, and FrozenArray and its array friend.
Perhaps this is a chance to think about consistent casing?
Looking back, we could keep async iterable as-is if we changed the type to AsyncSequence, even with the proposed async disposer in #1488 :
PartialInterfaceMember ::
(... skipped ...)
MaybeAsyncDeclarations
async MaybeAsyncDeclarations
MaybeAsyncDeclarations::
Iterable
Disposer
Metadata
Metadata
Assignees
Labels
No labels