Sep 23, 2022
not sure what you mean by "more granular".
This code results into one method taking one message value, which can be wrapped in anything else: you can use it in a class, a struct or other functions. you can actually integrate it everywhere, as it offers this minimal surface area of one function. therefore you can use this to build whole systems or use it only in certain areas as a library.
Not sure how you expect me to answer questions arising from your code base — that I dont know. Do you have more concrete questions?