Skip to content

optionally spawn worker from function instead of path #12

@smcatala

Description

@smcatala

in lieu of:

const proxy = newServiceProxy<Service>('./worker.ts')

also support:

const proxy = newServiceProxy<Service>(() => {
  // worker code
})

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions