You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Right now we assume the seed inside the main thread and the IFrame contain only services.
Some times the entire application will be inside the IFrame, in this case, the service won't find the seed because it sends messages to the top window
General description
Right now we assume the seed inside the main thread and the IFrame contain only services.
Some times the entire application will be inside the IFrame, in this case, the service won't find the seed because it sends messages to the top window
example: https://codesandbox.io/s/scalecube-js-tutorial-bwtl7
API
Design description
A clear and concise description of the design proposition.
Changes
Provide a link to a PR or code snippet of old and new API.
Selected solution
Create micro lib for addressable post messages and use it in cluster and transport
Advantages
Downside
Alternative solutions:
Self & Top
In this approach, we will try sending events on self and top
Advantages
Downside
Manual piping
In this approach, we won't assume the seed is in the to and we use a utility to pipe event to the top
Advantages
Downside
Addressing
In this approach, we send messages according to the seed address
Downside
Behavior
Consideration
We should still support seed on main thread and services on IFrame
Current behavior (should be maintained)
Desired behavior
Test cases
RoadMap
The text was updated successfully, but these errors were encountered: