Frontmatter
| id | 698 |
| title | Main: register remotes to workers |
| state | Closed |
| labels | enhancement |
| assignees | tobiu |
| createdAt | Jun 8, 2020, 9:15 PM |
| updatedAt | Jun 10, 2020, 10:00 PM |
| githubUrl | https://github.com/neomjs/neo/issues/698 |
| author | tobiu |
| commentsCount | 0 |
| parentIssue | null |
| subIssues | [] |
| subIssuesCompleted | 0 |
| subIssuesTotal | 0 |
| blockedBy | [] |
| blocking | [] |
| closedAt | Jun 10, 2020, 10:00 PM |
In case multiple main threads connect, they must only expose remote methods to other workers once.
A bit tricky, since main threads can use different addons (which can have their own remote methods).
The other option is to adjust the adding remotes logic to ensure it stays unique.
Need to think a bit more about this one.