Issue To Be Solved
Currently, the websocket streaming methods that exist on mainnet access nodes & are in use by all recent SDK releases do not exist on the emulator. Calling them will cause the emulator to crash.
This was a decision made during the release due to time constraints, however, it required SDKs to maintain legacy code to run against the emulator network.
(Optional): Suggest A Solution
Implement streaming methods
(Optional): Context
FCL still includes legacy support for polling data when an emulator chain ID is detected. Implementing the streaming methods allows us to remove this
Issue To Be Solved
Currently, the websocket streaming methods that exist on mainnet access nodes & are in use by all recent SDK releases do not exist on the emulator. Calling them will cause the emulator to crash.
This was a decision made during the release due to time constraints, however, it required SDKs to maintain legacy code to run against the emulator network.
(Optional): Suggest A Solution
Implement streaming methods
(Optional): Context
FCL still includes legacy support for polling data when an emulator chain ID is detected. Implementing the streaming methods allows us to remove this