Skip to content

(S2S sample-codes/websocket-nodejs) createSessionAsyncIterable does not work with native async iterable with nodenext #117

@pr1ntr

Description

@pr1ntr

Presently this code

compiles down to this with the current tsconfig settings.

with my nodenext settings it compiles like this

So since newer node (Node16 for instance) supports doing this natively. When compiled to node16 or nodenext it doesn't use that generator polyfill and just hangs forever.

@prettyprettyprettygood

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions