The function passed to S7ItemGroup.setTranslationCB() is currently expected to be sync. This prevents us to query its value from an async source (like a database).
We could add support to promise-based translation functions, that would then handle both sync and async cases
The function passed to
S7ItemGroup.setTranslationCB()
is currently expected to be sync. This prevents us to query its value from an async source (like a database).We could add support to promise-based translation functions, that would then handle both sync and async cases