-
Notifications
You must be signed in to change notification settings - Fork 4
Dashboard example includes confusing code #13
Copy link
Copy link
Open
Description
The code itself isn't confusing, I'm just confused as to why this stuff is in the client app:
logging_gateway = engine.logging_gateway.create();
stdout_client = engine.logging_stdout_client.create();
logging_gateway.add_logger(stdout_client);
logging_opts = {
logging_gateway: logging_gateway
};
intake = engine.intake.create(logging_opts);
exhaust = engine.exhaust.create(logging_opts);
cylinder = engine.cylinder.create(logging_opts);It doesn't seem like it's necessary, or am I missing something? Can it be used for communication with the piston server?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels