Skip to content

Accept URL as filename #109

Description

@fisker
const pool = new Tinypool({
-  filename: new URL('./worker.mjs', import.meta.url).href,
+  filename: new URL('./worker.mjs', import.meta.url),
})
  1. Convenient to use
  2. Align with Worker constructor

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions