-
Notifications
You must be signed in to change notification settings - Fork 561
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactor worker controller to use generic execution environment inter…
…face (#19) This changes the interface names to not have `worker` in them, also changes the interface to them as to not require `workerId`, but use the `pluginName` instead. It establishes a `ExecutionEnvironmentService` interface for other Execution Environment Services to follow and used in the `PluginController` to be able to swap out execution environments. It also renames `WorkerController` to `WebWorkerExecutionEnvironmentService` which implements `ExecutionEnvironmentService`. Co-authored-by: Erik Marks <[email protected]>
- Loading branch information
1 parent
857e209
commit e4bcb7f
Showing
8 changed files
with
302 additions
and
204 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
export * from './workers/WorkerController'; | ||
export * from './services/WebWorkerExecutionEnvironmentService'; | ||
export * from './plugins/PluginController'; | ||
export * from './resource/ExternalResourceController'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.