Skip to content

Service Initialization Arguments #65

@mstephen19

Description

@mstephen19

When initializing a service, it would maybe be nice to be able to provide initialization arguments like this:

api.launchService({ args: { foo: 'bar' } });

Then, these arguments could be available within the worker with a global Map maybe called ServiceArgs:

console.log(ServiceArgs.has('foo'));

Metadata

Metadata

Assignees

No one assigned

    Labels

    featureNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions