Skip to content

Support for remote JS file execution #1

@AshanFernando

Description

@AshanFernando

Traditionally 'Worker' mechanism supports JavaScript files to be executed directly by file path. ThreadJS uses an alternative approach by declaring Blobs with virtual URLs to define code to be executed on the fly. But Remote JavaScript support is also needed to provide support for browsers like IE10 and IE11.

Proposal:
Provide a mechanism to pass the URL of a remote JS file which includes the code for the Job.

e.g.

var threadInstance = new Thread({ data, jobURL: 'http://myfiles/', ..

and

var threadInstance = new Thread();
threadInstance.start(param, jobURL);

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions