-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Adjusting access to utils for federated execution after fed-gen is done #112
Comments
@byeong-gil: I think this may be part-way addressed? I believe we do use the |
Yes, I think so. We do use the |
But aren't they defined in App (vs. FederatedApp)? |
Yes, they are. Should we define those things in Actually, those functions are defined in reactor-ts/src/core/reactor.ts Lines 1916 to 1923 in bb9b0ea
Additionally, the below function is able to be removed simply. It is not overridden and just sends an error. reactor-ts/src/core/reactor.ts Lines 2085 to 2094 in bb9b0ea
|
I don't think that |
I got it. I'll make a PR to address it and another PR or issue for renaming (e.g. |
After fed-gen is done, the generated .lf files from a federated LF program will be the main reactors, which is currently generated as
App
class rather thanFederatedApp
class.However, inside the network sender body (reaction body),
this.util.sendRTITimedMessage
will be called in the main reactor. This is currently not possible sinceApp
class doesn't implement sendRTIMessage or sendRTITimedMessage like this.Possible solutions:
FederatedApp
and a reactor to be generated asApp
.App
The text was updated successfully, but these errors were encountered: