Suggested: Apply Singleton pattern to EuRxManager #255
Labels
documentation
documentation enhancement
enhancement
Feature Proposal
Anything about happy development!
from discussions
this issue is made from discussions
osca-22
Contribution From Open Source Academy 2022
Discussed in https://github.com/orgs/euphony-io/discussions/254
Originally posted by phj0407 September 13, 2022
AS-IS
While I apply Euphony library for sample app project, I find using one more object can cause malfunciton. I think applying singleton pattern to EuRxManager can prevent potential issue.
TO-DO
Now, EuRxManager have 3 constructor.
I think
public EuRxManager()
,public EuRxManager(EuOption.ModeType mode)
can be combined. And initializingnativeCore
can be solved seperately by add new method.The text was updated successfully, but these errors were encountered: