From 56a4127edcc9094f1d8905f8232487d073508506 Mon Sep 17 00:00:00 2001 From: winterhalderp Date: Fri, 23 Apr 2021 15:41:30 +0200 Subject: [PATCH] Update 'src/pubsub/pubsub/Readme.md' --- src/pubsub/pubsub/Readme.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/pubsub/pubsub/Readme.md b/src/pubsub/pubsub/Readme.md index 31cd019..2d6fbcb 100644 --- a/src/pubsub/pubsub/Readme.md +++ b/src/pubsub/pubsub/Readme.md @@ -27,7 +27,7 @@ You can use the `Minimal` classes in three ways: __Upsides__: You can implement as many instances of `Minimal` as you like __Downsides__: Code get's complicated and confusing * Implement `Minimal` inside your device class the same way as implementing in your main script (__<-- ToDo !!!__) -__Upsides__: You can implement as man instances of `Minimal` as you like; You can wrap these instances inside you device class +__Upsides__: You can implement as many instances of `Minimal` as you like; You can wrap these instances inside you device class __Downsides__: __ToDo__ * Build device class upon `Minimal` by using this structure ```python @@ -38,5 +38,5 @@ For example: class StateMachineCMDServiceProvider(MinimalServiceProvider): ``` (Example: [statemachine_host_example.py](None): device class is built upon `MinimalServiceProvider` class.) -__Upsides__: `Minimal` is automatically instantiated when creating an instance of your device class though `__init()__` -__Downsides__: You can only implement one instance of `Minimal`, eg. one device class can only implement one publisher, in this case you want to implement `Minimal` inside device class (see above) \ No newline at end of file +__Upsides__: `Minimal` is automatically instantiated when creating an instance of your device class due to `__init()__` +__Downsides__: You can only implement one instance of `Minimal`, eg. one device class can only implement one publisher. If you need more than one instance you want to implement `Minimal` inside your device class (see above) \ No newline at end of file