Skip to content

Es module usage  #49

Open
Open
@nickchomey

Description

@nickchomey

Sobek seems extremely promising, but I have one main question about the es module support.

The Readme says

Also of note is that due to the nature of ESM you need to have an event loop implementation to use it. That is still not provided by Sobek and likely never will be.

Does this mean we can't just swap Sobek for Goja in order to use ES modules in a Go app?

Similarly, does it mean that k6 has implemented a particular event loop to allow for this? Could k6 be used within a Go app, rather than just Sobek, to allow for es module support?

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions